diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-30 15:15:04 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-30 15:15:04 +0100 |
| commit | 43dac390967e2e85da0b3fcd84043a77cfaddfd0 (patch) | |
| tree | 93f09b804bcded8b59db6f619e18ec4b6265b8c2 /tests/by-name/nv/nvim-neorg | |
| parent | treewide: Align files with the same files in the `nixos-server` repo (diff) | |
| download | nixos-config-43dac390967e2e85da0b3fcd84043a77cfaddfd0.zip | |
treewide: Align the rest of the files with the server repository
Diffstat (limited to 'tests/by-name/nv/nvim-neorg')
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/data/index.norg | 16 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/data/index.norg.license | 9 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/data/reference.norg | 11 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/data/reference.norg.license | 9 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/test.desc | 73 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/test.desc.license | 9 | ||||
| -rw-r--r-- | tests/by-name/nv/nvim-neorg/test.nix | 55 |
7 files changed, 0 insertions, 182 deletions
diff --git a/tests/by-name/nv/nvim-neorg/data/index.norg b/tests/by-name/nv/nvim-neorg/data/index.norg deleted file mode 100644 index 4d643019..00000000 --- a/tests/by-name/nv/nvim-neorg/data/index.norg +++ /dev/null @@ -1,16 +0,0 @@ -@document.meta -title: index -description: -authors: soispha -categories: -created: 2023-08-29 -updated: 2023-08-29 -version: 1.1.1 -@end - -* First heading -- {* Second heading}[Second] - - -* Second heading --- {:./reference.norg:}[References] diff --git a/tests/by-name/nv/nvim-neorg/data/index.norg.license b/tests/by-name/nv/nvim-neorg/data/index.norg.license deleted file mode 100644 index eae6a84c..00000000 --- a/tests/by-name/nv/nvim-neorg/data/index.norg.license +++ /dev/null @@ -1,9 +0,0 @@ -nixos-config - My current NixOS configuration - -Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -SPDX-License-Identifier: GPL-3.0-or-later - -This file is part of my nixos-config. - -You should have received a copy of the License along with this program. -If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. diff --git a/tests/by-name/nv/nvim-neorg/data/reference.norg b/tests/by-name/nv/nvim-neorg/data/reference.norg deleted file mode 100644 index b572a469..00000000 --- a/tests/by-name/nv/nvim-neorg/data/reference.norg +++ /dev/null @@ -1,11 +0,0 @@ -@document.meta -title: references -description: -authors: soispha -categories: -created: 2023-08-29 -updated: 2023-08-29 -version: 1.1.1 -@end - -* Some other content diff --git a/tests/by-name/nv/nvim-neorg/data/reference.norg.license b/tests/by-name/nv/nvim-neorg/data/reference.norg.license deleted file mode 100644 index eae6a84c..00000000 --- a/tests/by-name/nv/nvim-neorg/data/reference.norg.license +++ /dev/null @@ -1,9 +0,0 @@ -nixos-config - My current NixOS configuration - -Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -SPDX-License-Identifier: GPL-3.0-or-later - -This file is part of my nixos-config. - -You should have received a copy of the License along with this program. -If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. diff --git a/tests/by-name/nv/nvim-neorg/test.desc b/tests/by-name/nv/nvim-neorg/test.desc deleted file mode 100644 index bd1e8f49..00000000 --- a/tests/by-name/nv/nvim-neorg/test.desc +++ /dev/null @@ -1,73 +0,0 @@ -Type nvim -Sleep 3 -Type Enter -Sleep 9 -# Remove the spellfile download prompt -Type C-c -ExpectNot Warning: Cannot find word list -Expect Nvim is open source and freely distributable - -Type :NeorgStart -Sleep 1.5 -Type Enter -Sleep 4 - -Type :Neorg workspace general -Sleep 1.5 -Type Enter -Sleep 4 - - -Type 10t -Sleep 0.5 - -# Cursor is on the first heading -Type iMARKER -Sleep 0.5 -Type Escape -Sleep 2 -Expect ^11\s*MARKER◉ First heading$ - -# Now moves to the link to the second -Type t -Sleep 0.2 -Type $ -Sleep 0.2 -Type h -Sleep 0.2 -Type Enter -Sleep 0.5 - -# Should be on the second -Type iMARKER -Sleep 0.5 -Type Escape -Sleep 2 -Expect ^15\s*◉ MARKERSecond heading$ - -# Moves to the references file -Type t -Sleep 0.2 -Type $ -Sleep 0.2 -Type h -Sleep 0.2 -Type Enter -Sleep 0.5 - -# Skip another spell file prompt -Type Enter -Sleep 0.5 - - -Type 10t -Sleep 1.0 - -Expect ^11\s*◉ Some other content$ - -Type :q! -Sleep 0.5 -Type Enter -Sleep 1 - -# vim: ft=tape diff --git a/tests/by-name/nv/nvim-neorg/test.desc.license b/tests/by-name/nv/nvim-neorg/test.desc.license deleted file mode 100644 index eae6a84c..00000000 --- a/tests/by-name/nv/nvim-neorg/test.desc.license +++ /dev/null @@ -1,9 +0,0 @@ -nixos-config - My current NixOS configuration - -Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -SPDX-License-Identifier: GPL-3.0-or-later - -This file is part of my nixos-config. - -You should have received a copy of the License along with this program. -If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. diff --git a/tests/by-name/nv/nvim-neorg/test.nix b/tests/by-name/nv/nvim-neorg/test.nix deleted file mode 100644 index 9f160df5..00000000 --- a/tests/by-name/nv/nvim-neorg/test.nix +++ /dev/null @@ -1,55 +0,0 @@ -# nixos-config - My current NixOS configuration -# -# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> -# SPDX-License-Identifier: GPL-3.0-or-later -# -# This file is part of my nixos-config. -# -# You should have received a copy of the License along with this program. -# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. -{ - mkTest, - extraModules, - pkgs, - ... -}: -mkTest { - name = "nvim-neorg"; - - configuration = { - imports = [ - ../../../../modules/by-name/nv/nvim/module.nix - ../../../../modules/by-name/ni/nixpkgs/module.nix - ]; - config = { - soispha = { - nixpkgs = { - enable = true; - systemName = "x86_64-linux"; - }; - programs.nvim = { - enable = true; - shell = pkgs.zsh; - }; - }; - home-manager.users.soispha = { - imports = [ - extraModules.nixvim.homeManagerModule - ]; - }; - }; - }; - - alternateScreen = false; - - testData = { - "/home/soispha/repos/notes/general/index.norg" = ./data/index.norg; - "/home/soispha/repos/notes/general/reference.norg" = ./data/reference.norg; - }; - - description = ./test.desc; - - # The golden file is just full of nvim's terminal control sequences. There is no point - # in trying to check it. - hash = null; -} |
