TestLiteralReference is now an error test

This commit is contained in:
Sasha Koshka 2024-03-01 00:13:32 -05:00
parent c22ac87cd0
commit 5e93a7afd1
1 changed files with 3 additions and 2 deletions

View File

@ -42,8 +42,9 @@ testString (test,
`)
}
func TestLiteralStringReference (test *testing.T) {
testString (test,
func TestLiteralReferenceErr (test *testing.T) {
testStringErr (test,
"cannot assign to string literal", 3, 20,
`
[main] = {
byteptr:*Byte = [@'\n']