@@ -421,6 +421,7 @@ function runTests (solc, versionText) {
421
421
} ;
422
422
423
423
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) ) ) ;
424
+ st . ok ( expectNoError ( output ) ) ;
424
425
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
425
426
st . ok ( typeof x === 'string' ) ;
426
427
st . ok ( x . length > 0 ) ;
@@ -463,6 +464,7 @@ function runTests (solc, versionText) {
463
464
}
464
465
465
466
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) , findImports ) ) ;
467
+ st . ok ( expectNoError ( output ) ) ;
466
468
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
467
469
st . ok ( typeof x === 'string' ) ;
468
470
st . ok ( x . length > 0 ) ;
@@ -508,6 +510,7 @@ function runTests (solc, versionText) {
508
510
} ;
509
511
510
512
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) ) ) ;
513
+ st . ok ( expectNoError ( output ) ) ;
511
514
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
512
515
st . ok ( typeof x === 'string' ) ;
513
516
st . ok ( x . length > 0 ) ;
@@ -550,6 +553,7 @@ function runTests (solc, versionText) {
550
553
} ;
551
554
552
555
var output = JSON . parse ( solc . lowlevel . compileStandard ( JSON . stringify ( input ) ) ) ;
556
+ st . ok ( expectNoError ( output ) ) ;
553
557
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
554
558
st . ok ( typeof x === 'string' ) ;
555
559
st . ok ( x . length > 0 ) ;
0 commit comments