lint cleanup
This commit is contained in:
parent
6306cd2797
commit
9da99afa88
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user