Skip to content

Commit 37f35cc

Browse files
committed
fix: enable-false test must run writer before checking
1 parent 1ba052c commit 37f35cc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

templates/ci/test-cases/enable-false/module.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
nix run .#write-files
1818
git add --intent-to-add .
1919
nix flake check
20-
# verify enabled file exists and disabled does not
21-
test -f should-exist.txt
20+
# verify disabled file was not written
2221
! test -f should-not-exist.txt
2322
declare out
2423
touch "$out"

0 commit comments

Comments
 (0)