lint cleanup

This commit is contained in:
Aliaksei Chapyzhenka 2020-09-13 18:29:10 -07:00
parent 6306cd2797
commit 9da99afa88

View File

@ -7,45 +7,45 @@ describe('events', () => {
it('$enddefinitions', done => {
const inst = lib.parser();
inst.on("$enddefinitions", () => {
expect(inst.info).to.deep.eq({
status: 'simulation',
varId: 'u)',
wires: {
top: {
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
inst.on('$enddefinitions', () => {
expect(inst.info).to.deep.eq({
status: 'simulation',
varId: 'u)',
wires: {
top: {
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
}
}
}
},
stack: [{
top: {
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
}
}
},
{
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
}
},
{
point: 'u)'
}]
});
stack: [{
top: {
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
}
}
},
{
clock: '"}G',
fruit: {
point: 'u)'
},
leaf: {
counter: '{u'
}
},
{
point: 'u)'
}]
});
});
expect(inst.write(`
$version Generated by VerilatedVcd $end
@ -65,7 +65,7 @@ $timescale 1ns $end
$enddefinitions $end
`
)).to.eq(true);
)).to.eq(true);
done();
});