diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-30 08:36:52 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-30 08:36:52 +0100 |
commit | cf84872ad1ca20234396a826223beea618b18c81 (patch) | |
tree | a2a41fac10239014053fdabd4cdcb439186964ad /tests | |
parent | fix(modules/yambar): Wrap the commands with arguments with a script (diff) | |
download | nixos-config-cf84872ad1ca20234396a826223beea618b18c81.tar.gz nixos-config-cf84872ad1ca20234396a826223beea618b18c81.zip |
fix(tests/nvim-checkhealth): Increase the sleeptime after typing
Otherwise, the command might not have been run, when we depend on it later.
Diffstat (limited to '')
-rw-r--r-- | tests/by-name/nv/nvim-checkhealth/test.desc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/by-name/nv/nvim-checkhealth/test.desc b/tests/by-name/nv/nvim-checkhealth/test.desc index 66f87cf4..4d977c0c 100644 --- a/tests/by-name/nv/nvim-checkhealth/test.desc +++ b/tests/by-name/nv/nvim-checkhealth/test.desc @@ -3,7 +3,7 @@ Sleep 2 # We open a `*.norg` file to run the norg ftplugin. Type nvim test.norg --headless "+set nospell" "+checkhealth" "+w! health.log" +q +wa +qa -Sleep 0.5 +Sleep 1 Type Enter # TODO: The test system should be able to just wait until a command has finished. <2024-11-23> @@ -13,7 +13,7 @@ Sleep 240 # The `checkhealth` output is not reproducible. # Thus only output the warnings/errors. Type batgrep --ignore-case 'warning|error' health.log > new_golden -Sleep 0.5 +Sleep 1 Type Enter Sleep 2 |