From 9da99afa88f8f80e3a24c460fb653b1f735d8fe0 Mon Sep 17 00:00:00 2001 From: Aliaksei Chapyzhenka Date: Sun, 13 Sep 2020 18:29:10 -0700 Subject: [PATCH] lint cleanup --- test/events.js | 80 +++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/test/events.js b/test/events.js index a406298..85c0cce 100644 --- a/test/events.js +++ b/test/events.js @@ -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,12 +65,12 @@ $timescale 1ns $end $enddefinitions $end ` -)).to.eq(true); + )).to.eq(true); done(); }); - - + + }); /* eslint-env mocha */