We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ea309 commit 0ad70e1Copy full SHA for 0ad70e1
test/package.js
@@ -531,9 +531,14 @@ tape('Compilation', function (t) {
531
tape('Loading Legacy Versions', function (t) {
532
t.test('loading remote version - development snapshot', function (st) {
533
// getting the development snapshot
534
- st.plan(3);
+ st.plan(2);
535
solc.loadRemoteVersion('latest', function (err, solcSnapshot) {
536
- st.notOk(err);
+ if (err) {
537
+ st.plan(1);
538
+ st.skip('Network error - skipping remote loading test');
539
+ st.end();
540
+ return;
541
+ }
542
var output = solcSnapshot.compile('contract x { function g() public {} }');
543
st.ok(':x' in output.contracts);
544
st.ok(output.contracts[':x'].bytecode.length > 0);
0 commit comments