diff --git a/libs/sqf/tests/lints/s19_extra_not.sqf b/libs/sqf/tests/lints/s19_extra_not.sqf new file mode 100644 index 00000000..a0eac2a3 --- /dev/null +++ b/libs/sqf/tests/lints/s19_extra_not.sqf @@ -0,0 +1 @@ +! (5 isEqualTo 6) diff --git a/libs/sqf/tests/lints/s19_extra_not/source.sqf b/libs/sqf/tests/lints/s19_extra_not/source.sqf deleted file mode 100644 index e2fd34d9..00000000 --- a/libs/sqf/tests/lints/s19_extra_not/source.sqf +++ /dev/null @@ -1 +0,0 @@ -! (5 isEqualTo 6) \ No newline at end of file diff --git a/libs/sqf/tests/lints/s19_extra_not/stdout.ansi b/libs/sqf/tests/snapshots/lints__simple_s19_extra_not.snap similarity index 60% rename from libs/sqf/tests/lints/s19_extra_not/stdout.ansi rename to libs/sqf/tests/snapshots/lints__simple_s19_extra_not.snap index 8442cfef..340a9513 100644 --- a/libs/sqf/tests/lints/s19_extra_not/stdout.ansi +++ b/libs/sqf/tests/snapshots/lints__simple_s19_extra_not.snap @@ -1,6 +1,9 @@ +--- +source: libs/sqf/tests/lints.rs +expression: lint(stringify! (s19_extra_not)) +--- help[L-S19]: Unneeded Not - ┌─ source.sqf:1:1 + ┌─ s19_extra_not.sqf:1:1 │ 1 │ ! (5 isEqualTo 6) │ ^ Unneeded Not -