diff options
Diffstat (limited to 'bin/tests')
-rw-r--r-- | bin/tests/data/unquoted_splices.nix | 15 | ||||
-rw-r--r-- | bin/tests/main.rs | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/bin/tests/data/unquoted_splices.nix b/bin/tests/data/unquoted_splices.nix deleted file mode 100644 index 30935b0..0000000 --- a/bin/tests/data/unquoted_splices.nix +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | let | ||
2 | x = 2; | ||
3 | y = 3; | ||
4 | a = { "2" = y; }; | ||
5 | in | ||
6 | [ | ||
7 | ${x} | ||
8 | ${toString (x + y)} | ||
9 | a.${toString x} | ||
10 | |||
11 | # multiline test | ||
12 | ${ | ||
13 | toString x | ||
14 | } | ||
15 | ] | ||
diff --git a/bin/tests/main.rs b/bin/tests/main.rs index 6175c90..de5266f 100644 --- a/bin/tests/main.rs +++ b/bin/tests/main.rs | |||
@@ -39,9 +39,9 @@ test_lint! { | |||
39 | collapsible_let_in, | 39 | collapsible_let_in, |
40 | eta_reduction, | 40 | eta_reduction, |
41 | useless_parens, | 41 | useless_parens, |
42 | unquoted_splices, | ||
43 | empty_pattern, | 42 | empty_pattern, |
44 | redundant_pattern_bind, | 43 | redundant_pattern_bind, |
45 | unquoted_uri, | 44 | unquoted_uri, |
46 | deprecated_is_null, | 45 | deprecated_is_null, |
46 | empty_inherit, | ||
47 | } | 47 | } |