Pass all literal assignment tests
This commit is contained in:
parent
b839517e9a
commit
1a09e9ba2a
@ -113,7 +113,7 @@ testStringErr (test,
|
|||||||
|
|
||||||
func TestAssignmentLiteralErrInterfaceInt (test *testing.T) {
|
func TestAssignmentLiteralErrInterfaceInt (test *testing.T) {
|
||||||
testStringErr (test,
|
testStringErr (test,
|
||||||
"cannot use float literal as Bird", 6, 2,
|
"cannot use integer literal as Bird", 4, 11,
|
||||||
`
|
`
|
||||||
Bird: ([fly distance:F64] [land])
|
Bird: ([fly distance:F64] [land])
|
||||||
[main] = {
|
[main] = {
|
||||||