Skip to content

Commit 085fcf3

Browse files
committed
Fix tests
1 parent 1b9949e commit 085fcf3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/unit/slang-utils/create-parser.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ describe('inferLanguage', function () {
99
{
1010
description: 'Caret range',
1111
source: `pragma solidity ^0.7.0;`,
12-
version: '0.7.0'
12+
version: '0.7.6'
1313
},
1414
{
1515
description: 'Pinned version',
@@ -106,8 +106,8 @@ describe('inferLanguage', function () {
106106
}));
107107
expect(parser.languageVersion).toEqual('0.8.2');
108108

109-
({ parser } = createParser(`pragma solidity ^0.8.0;`, {}));
110-
expect(parser.languageVersion).toEqual('0.8.0');
109+
({ parser } = createParser(`pragma solidity ^0.7.0;`, {}));
110+
expect(parser.languageVersion).toEqual('0.7.6');
111111
});
112112

113113
test('should throw if compiler option does not match the syntax', function () {

0 commit comments

Comments
 (0)