You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/unit/__snapshots__/identifiers.spec.ts.snap
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -52,18 +52,14 @@ exports[`ambient identifier must be a valid lua identifier ("enum $$ {}"): code
52
52
53
53
exports[`ambient identifier must be a valid lua identifier ("enum $$ {}"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
54
54
55
-
exports[`ambient identifier must be a valid lua identifier ("function $$();"): code 1`] =`"local ____ = _____24_24_24"`;
55
+
exports[`ambient identifier must be a valid lua identifier ("function $$(): void;"): code 1`] =`"local ____ = _____24_24_24"`;
56
56
57
-
exports[`ambient identifier must be a valid lua identifier ("function $$();"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
57
+
exports[`ambient identifier must be a valid lua identifier ("function $$(): void;"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
58
58
59
59
exports[`ambient identifier must be a valid lua identifier ("let $$: any;"): code 1`] =`"local ____ = _____24_24_24"`;
60
60
61
61
exports[`ambient identifier must be a valid lua identifier ("let $$: any;"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
62
62
63
-
exports[`ambient identifier must be a valid lua identifier ("module $$ {exportconstbar: any; }"): code 1`] =`"local ____ = _____24_24_24"`;
64
-
65
-
exports[`ambient identifier must be a valid lua identifier ("module $$ {exportconstbar: any; }"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
66
-
67
63
exports[`ambient identifier must be a valid lua identifier ("namespace $$ {exportconstbar: any; }"): code 1`] =`"local ____ = _____24_24_24"`;
68
64
69
65
exports[`ambient identifier must be a valid lua identifier ("namespace $$ {exportconstbar: any; }"): diagnostics 1`] =`"main.ts(3,9): error TSTL: Invalid ambient identifier name '$$$'. Ambient identifiers must be valid lua identifiers."`;
0 commit comments