Skip to content

Commit cb725c9

Browse files
committed
wip: fix ref test
1 parent 9374727 commit cb725c9

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)