about summary refs log tree commit diff stats
path: root/tests/by-name/nv/nvim-checkhealth/test.desc
blob: 169cf49fdbfa76ce1821991169f597fd66fa93dd (plain) (blame)
1
2
3
4
5
6
7
8
9
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