diff --git a/tests/inputs-full_moon/strings-escape.lua b/tests/inputs-full_moon/strings-escape.lua new file mode 100644 index 00000000..5c2e4f13 --- /dev/null +++ b/tests/inputs-full_moon/strings-escape.lua @@ -0,0 +1,3 @@ +call('\\') +call("\\") +call({ ["\\"] = "" }) \ No newline at end of file diff --git a/tests/snapshots/tests__full_moon_test_suite@strings-escape.lua.snap b/tests/snapshots/tests__full_moon_test_suite@strings-escape.lua.snap new file mode 100644 index 00000000..c756c20f --- /dev/null +++ b/tests/snapshots/tests__full_moon_test_suite@strings-escape.lua.snap @@ -0,0 +1,8 @@ +--- +source: tests/tests.rs +expression: format(&contents) +--- +call("\\") +call("\\") +call({ ["\\"] = "" }) +