Skip to content

Commit

Permalink
Fix e2e in order to expect 32 bits seed
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Nov 20, 2018
1 parent e24d67f commit e790fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/Shadows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe(`Shadows (seed: ${seed})`, () => {
} catch (err) {
failed = true;
const msg = err.message as string;
assert.ok(msg.indexOf(`seed: ${seed}, path:`) !== -1, `Message contains the seed, got: ${err}`);
assert.ok(msg.indexOf(`seed: ${seed | 0}, path:`) !== -1, `Message contains the seed, got: ${err}`);
assert.ok(
/\[Space\(grid\{x:\d+,y:\d+\},solution\{x:\d+,y:\d+\},initial\{x:\d+,y:\d+\}\),\d+\]/.exec(msg) !== null,
`Message contains the failing entry, got: ${err}`
Expand Down

0 comments on commit e790fef

Please sign in to comment.