Skip to content

Commit 2d856fc

Browse files
committed
wip: fix ref test
1 parent d3d41f3 commit 2d856fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/references.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function compilerErrorTest(contractName: string, errorMsg: string) {
2525
}
2626

2727
describe('Reference Compile Errors', () => {
28-
compilerErrorTest('MutableRefInObjLiteral', 'Cannot have multiple multiple references to the same object');
29-
compilerErrorTest('MutableRefInObjAssignment', 'Cannot have multiple multiple references to the same object');
30-
compilerErrorTest('MutableRefInArrayLiteral', 'Cannot have multiple multiple references to the same object');
31-
compilerErrorTest('MutableRefInArrayAssignment', 'Cannot have multiple multiple references to the same object');
32-
compilerErrorTest('MutableRefInPush', 'Cannot push to dynamic array of dynamic types');
28+
compilerErrorTest('MutableRefInObjLiteral', 'Cannot access or create a reference to an mutable type');
29+
compilerErrorTest('MutableRefInObjAssignment', 'Cannot access or create a reference to an mutable type');
30+
compilerErrorTest('MutableRefInArrayLiteral', 'Cannot access or create a reference to an mutable type');
31+
compilerErrorTest('MutableRefInArrayAssignment', 'Cannot access or create a reference to an mutable type');
32+
compilerErrorTest('MutableRefInPush', 'Cannot access or create a reference to an mutable type');
3333
});

0 commit comments

Comments
 (0)