lint cleanup
This commit is contained in:
parent
6306cd2797
commit
9da99afa88
@ -7,45 +7,45 @@ describe('events', () => {
|
|||||||
|
|
||||||
it('$enddefinitions', done => {
|
it('$enddefinitions', done => {
|
||||||
const inst = lib.parser();
|
const inst = lib.parser();
|
||||||
inst.on("$enddefinitions", () => {
|
inst.on('$enddefinitions', () => {
|
||||||
expect(inst.info).to.deep.eq({
|
expect(inst.info).to.deep.eq({
|
||||||
status: 'simulation',
|
status: 'simulation',
|
||||||
varId: 'u)',
|
varId: 'u)',
|
||||||
wires: {
|
wires: {
|
||||||
top: {
|
top: {
|
||||||
clock: '"}G',
|
clock: '"}G',
|
||||||
fruit: {
|
fruit: {
|
||||||
point: 'u)'
|
point: 'u)'
|
||||||
},
|
},
|
||||||
leaf: {
|
leaf: {
|
||||||
counter: '{u'
|
counter: '{u'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
|
||||||
stack: [{
|
|
||||||
top: {
|
|
||||||
clock: '"}G',
|
|
||||||
fruit: {
|
|
||||||
point: 'u)'
|
|
||||||
},
|
|
||||||
leaf: {
|
|
||||||
counter: '{u'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
clock: '"}G',
|
|
||||||
fruit: {
|
|
||||||
point: 'u)'
|
|
||||||
},
|
},
|
||||||
leaf: {
|
stack: [{
|
||||||
counter: '{u'
|
top: {
|
||||||
}
|
clock: '"}G',
|
||||||
},
|
fruit: {
|
||||||
{
|
point: 'u)'
|
||||||
point: 'u)'
|
},
|
||||||
}]
|
leaf: {
|
||||||
});
|
counter: '{u'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
clock: '"}G',
|
||||||
|
fruit: {
|
||||||
|
point: 'u)'
|
||||||
|
},
|
||||||
|
leaf: {
|
||||||
|
counter: '{u'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
point: 'u)'
|
||||||
|
}]
|
||||||
|
});
|
||||||
});
|
});
|
||||||
expect(inst.write(`
|
expect(inst.write(`
|
||||||
$version Generated by VerilatedVcd $end
|
$version Generated by VerilatedVcd $end
|
||||||
@ -65,7 +65,7 @@ $timescale 1ns $end
|
|||||||
|
|
||||||
$enddefinitions $end
|
$enddefinitions $end
|
||||||
`
|
`
|
||||||
)).to.eq(true);
|
)).to.eq(true);
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user