Skip to content

Commit bc8ac05

Browse files
author
Leonardo
authored
Merge pull request #399 from ethereum/test-fixes
Do not run import callback test on <0.2.1
2 parents b547aa2 + 57390cd commit bc8ac05

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/compiler.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ tape('Compilation', function (t) {
9696
});
9797

9898
t.test('multiple files can be compiled (using lowlevel API)', function (st) {
99-
// Introduced in 0.1.6
99+
// <0.1.6 doesn't have this
100100
if (typeof solc.lowlevel.compileMulti !== 'function') {
101101
st.skip('Low-level compileMulti interface not implemented by this compiler version.');
102102
st.end();
@@ -118,7 +118,7 @@ tape('Compilation', function (t) {
118118
});
119119

120120
t.test('lazy-loading callback works (using lowlevel API)', function (st) {
121-
// Introduced in 0.2.1
121+
// <0.2.1 doesn't have this
122122
if (typeof solc.lowlevel.compileCallback !== 'function') {
123123
st.skip('Low-level compileCallback interface not implemented by this compiler version.');
124124
st.end();
@@ -397,8 +397,8 @@ tape('Compilation', function (t) {
397397
});
398398

399399
t.test('compiling standard JSON (with imports)', function (st) {
400-
// <0.1.6 doesn't have this
401-
if (!solc.features.multipleInputs) {
400+
// <0.2.1 doesn't have this
401+
if (!solc.features.importCallback) {
402402
st.skip('Not supported by solc');
403403
st.end();
404404
return;

0 commit comments

Comments
 (0)