# 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