Skip to content

Commit d528890

Browse files
committed
fix(test): update version regex in research contract test for v0.6.0
1 parent 3a23863 commit d528890

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/research-contract.test.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ function readJson(relativePath) {
1616
return JSON.parse(read(relativePath));
1717
}
1818

19-
test('v0.5 release line exposes research validation', () => {
19+
test('v0.6 release line exposes research validation', () => {
2020
const pkg = readJson('package.json');
21-
assert.match(pkg.version, /^0\.5\.\d+$/);
21+
assert.match(pkg.version, /^0\.[56]\.\d+$/);
2222
assert.equal(pkg.scripts['research:validate'], 'node --test scripts/research-contract.test.mjs');
2323
assert.match(pkg.scripts['release:validate'], /research:validate/);
2424
});

0 commit comments

Comments
 (0)