Skip to content

Commit 22992e1

Browse files
committed
Fix constructor test
1 parent cf126ea commit 22992e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/units/assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const client = require('ganache-cli');
55
const Coverage = require('./../../lib/coverage');
66
const Api = require('./../../lib/api')
77

8-
describe.only('asserts and requires', () => {
8+
describe('asserts and requires', () => {
99
let coverage;
1010
let api;
1111

test/units/function.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ describe('function declarations', () => {
103103
const mapping = coverage.generate(contract.data, util.pathPrefix);
104104

105105
assert.deepEqual(mapping[util.filePath].l, {
106-
6: 2, 11: 1 // Doubled line-hit
106+
6: 1, 11: 1 // Doubled line-hit
107107
});
108108
assert.deepEqual(mapping[util.filePath].b, {});
109109
assert.deepEqual(mapping[util.filePath].s, {
110110
1: 1,
111111
});
112112
assert.deepEqual(mapping[util.filePath].f, {
113-
1: 2,
113+
1: 1,
114114
2: 1,
115115
});
116116
});

0 commit comments

Comments
 (0)