Skip to content

Commit

Permalink
Fix if/else tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Apr 26, 2022
1 parent 29c0fdd commit 0deb001
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/units/if.js
Expand Up @@ -39,7 +39,7 @@ describe('if, else, and else if statements', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -60,7 +60,7 @@ describe('if, else, and else if statements', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -82,7 +82,7 @@ describe('if, else, and else if statements', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -105,7 +105,7 @@ describe('if, else, and else if statements', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -127,7 +127,7 @@ describe('if, else, and else if statements', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -149,7 +149,7 @@ describe('if, else, and else if statements', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0, 3: 1,
1: 1, 2: 0,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -170,7 +170,7 @@ describe('if, else, and else if statements', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0, 3: 1,
1: 1, 2: 0,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -192,7 +192,7 @@ describe('if, else, and else if statements', () => {
1: [0, 1], 2: [0, 1]
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0, 3: 1, 4: 0
1: 1, 2: 0, 3: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down Expand Up @@ -235,7 +235,7 @@ describe('if, else, and else if statements', () => {
1: [0, 1], 2: [1, 0], 3: [0, 1], 4: [1, 0]
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 0, 3: 1, 4: 1, 5: 0, 6: 1, 7: 0, 8: 1, 9: 1, 10: 0,
1: 1, 2: 1, 3: 1, 4: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down

0 comments on commit 0deb001

Please sign in to comment.