Skip to content

Commit 94e1b7e

Browse files
authored
Merge pull request #504 from ethereum/cli-tests
Make CLI incorrectSource test less picky about error formatting
2 parents 6934390 + 18ca1f6 commit 94e1b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tape('CLI', function (t) {
4444

4545
t.test('incorrect source source', function (st) {
4646
var spt = spawn(st, './solcjs --bin test/resources/fixtureIncorrectSource.sol');
47-
spt.stderr.match(/^test\/resources\/fixtureIncorrectSource.sol:1:1: SyntaxError: Invalid pragma "contract"/);
47+
spt.stderr.match(/SyntaxError: Invalid pragma "contract"/);
4848
spt.end();
4949
});
5050

0 commit comments

Comments
 (0)