Skip to content

Commit 88c1d00

Browse files
committed
Fix loops, modifiers, options and statements tests
1 parent 0deb001 commit 88c1d00

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

test/units/loops.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('for and while statements', () => {
6666
});
6767
assert.deepEqual(mapping[util.filePath].b, {});
6868
assert.deepEqual(mapping[util.filePath].s, {
69-
1: 1, 2: 1, 3: 1,
69+
1: 1, 2: 1,
7070
});
7171
assert.deepEqual(mapping[util.filePath].f, {
7272
1: 1,
@@ -85,7 +85,7 @@ describe('for and while statements', () => {
8585
});
8686
assert.deepEqual(mapping[util.filePath].b, {});
8787
assert.deepEqual(mapping[util.filePath].s, {
88-
1: 1, 2: 1, 3: 1,
88+
1: 1, 2: 1,
8989
});
9090
assert.deepEqual(mapping[util.filePath].f, {
9191
1: 1,

test/units/modifiers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ describe('modifiers', () => {
159159
1: [1, 2], 2: [1, 2],
160160
});
161161
assert.deepEqual(mapping[util.filePath].s, {
162-
1: 3, 2: 1, 3: 1,
162+
1: 3, 2: 1,
163163
});
164164
assert.deepEqual(mapping[util.filePath].f, {
165165
1: 3, 2: 1, 3: 1
@@ -187,7 +187,7 @@ describe('modifiers', () => {
187187
"1":[3,0],"2":[1,2],"3":[3,0],"4":[1,2]
188188
});
189189
assert.deepEqual(mapping[util.filePath].s, {
190-
"1":3,"2":3,"3":1,"4":1
190+
"1":3,"2":3,"3":1,
191191
});
192192
assert.deepEqual(mapping[util.filePath].f, {
193193
"1":3,"2":3,"3":1,"4":1

test/units/options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('measureCoverage options', () => {
5959
});
6060
assert.deepEqual(mapping[util.filePath].b, {});
6161
assert.deepEqual(mapping[util.filePath].s, {
62-
1: 1, 2: 1,
62+
1: 1,
6363
});
6464
assert.deepEqual(mapping[util.filePath].f, {
6565
1: 1,
@@ -76,7 +76,7 @@ describe('measureCoverage options', () => {
7676
assert.deepEqual(mapping[util.filePath].b, {});
7777

7878
assert.deepEqual(mapping[util.filePath].s, {
79-
1: 1, 2: 1, 3: 1,
79+
1: 1, 2: 1,
8080
});
8181
assert.deepEqual(mapping[util.filePath].f, {
8282
1: 1,

test/units/statements.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ describe('generic statements', () => {
112112
1: [0, 1],
113113
});
114114
assert.deepEqual(mapping[util.filePath].s, {
115-
1: 1, 2: 0, 3: 1,
115+
1: 1,
116116
});
117117
assert.deepEqual(mapping[util.filePath].f, {
118118
1: 1,
@@ -130,7 +130,7 @@ describe('generic statements', () => {
130130
});
131131
assert.deepEqual(mapping[util.filePath].b, {});
132132
assert.deepEqual(mapping[util.filePath].s, {
133-
1: 1, 2: 1, 3: 1,
133+
1: 1, 2: 1,
134134
});
135135
assert.deepEqual(mapping[util.filePath].f, {
136136
1: 1, 2: 1,
@@ -148,7 +148,7 @@ describe('generic statements', () => {
148148
});
149149
assert.deepEqual(mapping[util.filePath].b, {});
150150
assert.deepEqual(mapping[util.filePath].s, {
151-
1: 1, 2: 1, 3: 1,
151+
1: 1, 2: 1,
152152
});
153153
assert.deepEqual(mapping[util.filePath].f, {
154154
1: 1, 2: 1,

0 commit comments

Comments
 (0)