From 4e063b2abc402ac4d6902647e821978269025c7d Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 3 Nov 2021 14:48:35 +0530 Subject: add snapshot test suite --- bin/tests/snapshots/main__deprecated_is_null.snap | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bin/tests/snapshots/main__deprecated_is_null.snap (limited to 'bin/tests/snapshots/main__deprecated_is_null.snap') diff --git a/bin/tests/snapshots/main__deprecated_is_null.snap b/bin/tests/snapshots/main__deprecated_is_null.snap new file mode 100644 index 0000000..d49b381 --- /dev/null +++ b/bin/tests/snapshots/main__deprecated_is_null.snap @@ -0,0 +1,13 @@ +--- +source: bin/tests/main.rs +expression: "&out" + +--- +[W13] Warning: Found usage of deprecated builtin isNull + ╭─[data/deprecated_is_null.nix:4:4] + │ + 4 │ if isNull e + · ────┬─── + · ╰───── isNull is deprecated, check equality with null instead +───╯ + -- cgit v1.2.3