Skip to content

Commit

Permalink
Fix loops, modifiers, options and statements tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Apr 26, 2022
1 parent 0deb001 commit 88c1d00
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions test/units/loops.js
Expand Up @@ -66,7 +66,7 @@ describe('for and while statements', () => {
});
assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -85,7 +85,7 @@ describe('for and while statements', () => {
});
assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down
4 changes: 2 additions & 2 deletions test/units/modifiers.js
Expand Up @@ -159,7 +159,7 @@ describe('modifiers', () => {
1: [1, 2], 2: [1, 2],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 3, 2: 1, 3: 1,
1: 3, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 3, 2: 1, 3: 1
Expand Down Expand Up @@ -187,7 +187,7 @@ describe('modifiers', () => {
"1":[3,0],"2":[1,2],"3":[3,0],"4":[1,2]
});
assert.deepEqual(mapping[util.filePath].s, {
"1":3,"2":3,"3":1,"4":1
"1":3,"2":3,"3":1,
});
assert.deepEqual(mapping[util.filePath].f, {
"1":3,"2":3,"3":1,"4":1
Expand Down
4 changes: 2 additions & 2 deletions test/units/options.js
Expand Up @@ -59,7 +59,7 @@ describe('measureCoverage options', () => {
});
assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -76,7 +76,7 @@ describe('measureCoverage options', () => {
assert.deepEqual(mapping[util.filePath].b, {});

assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down
6 changes: 3 additions & 3 deletions test/units/statements.js
Expand Up @@ -112,7 +112,7 @@ describe('generic statements', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0, 3: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -130,7 +130,7 @@ describe('generic statements', () => {
});
assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1, 2: 1,
Expand All @@ -148,7 +148,7 @@ describe('generic statements', () => {
});
assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1, 2: 1,
Expand Down

0 comments on commit 88c1d00

Please sign in to comment.