fix warning

This commit is contained in:
Ben 2020-09-27 19:05:27 -07:00
parent 2571735fcd
commit ae8f76a0c0
3 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
const stream = require('stream');
const EventEmitter = require('events').EventEmitter;
// let lib = require('bindings')('vcd.node');
const util = require('util');
// const util = require('util');
module.exports = async () => {

View File

@ -3,7 +3,7 @@
const dotProp = require('dot-prop');
function _waitForStart(mod) {
return new Promise((resolve, reject)=>{
return new Promise((resolve)=>{
mod.addOnPostRun(resolve);
});
}

View File

@ -21,7 +21,6 @@ describe('dump', () => {
['"}G', '{u', 'u)'] // array of all signal ids
.map(id =>
inst.change.on(id, (time, cmd, value, mask) => {
console.log(time, cmd, value, mask);
dump.push({
id,
time,
@ -82,7 +81,11 @@ $timescale 1ns $end
0"}G
#200
1"}G
bzzzzxxxx11110000ZZZZXXXX11110000zzzzxxxx11110000zzzzxxxx11110000 {u
bzzzzxxxx11110000ZZZZXXXX11110000zzzzxxx`);
// break in the middle of the number scan
inst.write( `x11110000zzzzxxxx11110000 {u
#300
0"}G
b1111000000000000000000000000000000000000000000000000000000000000 {u