TestLiteralReference is now an error test
This commit is contained in:
parent
c22ac87cd0
commit
5e93a7afd1
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue