Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

test(bool_comparison): add non-match cases

Co-Authored-By: x10an14 <x10an14@users.noreply.github.com>

+9 -2
+4
bin/tests/data/bool_comparison.nix
··· 10 10 (f != false) 11 11 (true != g) 12 12 (false != h) 13 + 14 + # non-matches 15 + (i == j) 16 + (k != l) 13 17 ]
+5 -2
bin/tests/snapshots/main__bool_comparison_fix.snap
··· 4 4 --- 5 5 --- tests/data/bool_comparison.nix 6 6 +++ tests/data/bool_comparison.nix [fixed] 7 - @@ -1,13 +1,13 @@ 7 + @@ -1,16 +1,16 @@ 8 8 [ 9 9 # trivial 10 10 - (a == true) ··· 25 25 + f 26 26 + (!g) 27 27 + h 28 - ] 28 + 29 + # non-matches 30 + (i == j) 31 + (k != l)