summaryrefslogtreecommitdiffstats
path: root/tests/old/by-name/nv/nvim-checkhealth/test.desc
diff options
context:
space:
mode:
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