@@ -48,7 +48,7 @@ tape('Version and license', function (t) {
48
48
49
49
tape ( 'Compilation' , function ( t ) {
50
50
t . test ( 'single files can be compiled' , function ( st ) {
51
- if ( ! solc . supportsSingle ) {
51
+ if ( ! solc . features . legacySingleInput ) {
52
52
st . skip ( 'Not supported by solc' ) ;
53
53
st . end ( ) ;
54
54
return ;
@@ -76,7 +76,7 @@ tape('Compilation', function (t) {
76
76
} ) ;
77
77
78
78
t . test ( 'invalid source code fails properly' , function ( st ) {
79
- if ( ! solc . supportsSingle ) {
79
+ if ( ! solc . features . legacySingleInput ) {
80
80
st . skip ( 'Not supported by solc' ) ;
81
81
st . end ( ) ;
82
82
return ;
@@ -114,7 +114,7 @@ tape('Compilation', function (t) {
114
114
return ;
115
115
}
116
116
117
- if ( ! solc . supportsMulti ) {
117
+ if ( ! solc . features . multipleInputs ) {
118
118
st . skip ( 'Not supported by solc' ) ;
119
119
st . end ( ) ;
120
120
return ;
@@ -162,7 +162,7 @@ tape('Compilation', function (t) {
162
162
return ;
163
163
}
164
164
165
- if ( ! solc . supportsImportCallback ) {
165
+ if ( ! solc . features . importCallback ) {
166
166
st . skip ( 'Not supported by solc' ) ;
167
167
st . end ( ) ;
168
168
return ;
@@ -222,7 +222,7 @@ tape('Compilation', function (t) {
222
222
return ;
223
223
}
224
224
225
- if ( ! solc . supportsImportCallback ) {
225
+ if ( ! solc . features . importCallback ) {
226
226
st . skip ( 'Not supported by solc' ) ;
227
227
st . end ( ) ;
228
228
return ;
@@ -257,7 +257,7 @@ tape('Compilation', function (t) {
257
257
return ;
258
258
}
259
259
260
- if ( ! solc . supportsImportCallback ) {
260
+ if ( ! solc . features . importCallback ) {
261
261
st . skip ( 'Not supported by solc' ) ;
262
262
st . end ( ) ;
263
263
return ;
@@ -282,7 +282,7 @@ tape('Compilation', function (t) {
282
282
return ;
283
283
}
284
284
285
- if ( ! solc . supportsImportCallback ) {
285
+ if ( ! solc . features . importCallback ) {
286
286
st . skip ( 'Not supported by solc' ) ;
287
287
st . end ( ) ;
288
288
return ;
@@ -304,7 +304,7 @@ tape('Compilation', function (t) {
304
304
return ;
305
305
}
306
306
307
- if ( ! solc . supportsImportCallback ) {
307
+ if ( ! solc . features . importCallback ) {
308
308
st . skip ( 'Not supported by solc' ) ;
309
309
st . end ( ) ;
310
310
return ;
0 commit comments