Skip to content

Commit 4922b84

Browse files
committed
Skip test requiring compileStandard if it is missing (there are compileStandardWrapper tests for those)
1 parent 82941f6 commit 4922b84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/package.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ tape('Compilation', function (t) {
167167
st.end();
168168
});
169169
t.test('invalid source code fails properly with standard JSON', function (st) {
170+
if (!solc.supportsStandard) {
171+
st.skip('Not supported by solc');
172+
st.end();
173+
return;
174+
}
175+
170176
var input = {
171177
'language': 'Solidity',
172178
'settings': {

0 commit comments

Comments
 (0)