summaryrefslogtreecommitdiffstats
path: root/tests/old/by-name/nv/nvim-checkhealth/test.desc
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:15:04 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-10-30 15:15:04 +0100
commit43dac390967e2e85da0b3fcd84043a77cfaddfd0 (patch)
tree93f09b804bcded8b59db6f619e18ec4b6265b8c2 /tests/old/by-name/nv/nvim-checkhealth/test.desc
parenttreewide: Align files with the same files in the `nixos-server` repo (diff)
downloadnixos-config-43dac390967e2e85da0b3fcd84043a77cfaddfd0.zip
treewide: Align the rest of the files with the server repository
Diffstat (limited to 'tests/old/by-name/nv/nvim-checkhealth/test.desc')
-rw-r--r--tests/old/by-name/nv/nvim-checkhealth/test.desc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/old/by-name/nv/nvim-checkhealth/test.desc b/tests/old/by-name/nv/nvim-checkhealth/test.desc
new file mode 100644
index 00000000..169cf49f
--- /dev/null
+++ b/tests/old/by-name/nv/nvim-checkhealth/test.desc
@@ -0,0 +1,10 @@
+# We open a `*.norg` file to run the norg ftplugin.
+Exec nvim test.norg --headless "+set nospell" "+checkhealth" "+w! health.log" +q +wa +qa
+
+# The `checkhealth` output is not reproducible.
+# Thus only output the warnings/errors.
+Exec batgrep --ignore-case 'warning|error' health.log > new_golden
+
+SetGolden new_golden
+
+# vim: ft=tape