@@ -435,6 +435,7 @@ function runTests (solc, versionText) {
435
435
} ;
436
436
437
437
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) ) ) ;
438
+ st . ok ( expectNoError ( output ) ) ;
438
439
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
439
440
st . ok ( typeof x === 'string' ) ;
440
441
st . ok ( x . length > 0 ) ;
@@ -485,6 +486,7 @@ function runTests (solc, versionText) {
485
486
}
486
487
487
488
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) , findImports ) ) ;
489
+ st . ok ( expectNoError ( output ) ) ;
488
490
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
489
491
st . ok ( typeof x === 'string' ) ;
490
492
st . ok ( x . length > 0 ) ;
@@ -530,6 +532,7 @@ function runTests (solc, versionText) {
530
532
} ;
531
533
532
534
var output = JSON . parse ( solc . compile ( JSON . stringify ( input ) ) ) ;
535
+ st . ok ( expectNoError ( output ) ) ;
533
536
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
534
537
st . ok ( typeof x === 'string' ) ;
535
538
st . ok ( x . length > 0 ) ;
@@ -572,6 +575,7 @@ function runTests (solc, versionText) {
572
575
} ;
573
576
574
577
var output = JSON . parse ( solc . lowlevel . compileStandard ( JSON . stringify ( input ) ) ) ;
578
+ st . ok ( expectNoError ( output ) ) ;
575
579
var x = getBytecodeStandard ( output , 'cont.sol' , 'x' ) ;
576
580
st . ok ( typeof x === 'string' ) ;
577
581
st . ok ( x . length > 0 ) ;
0 commit comments