1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-04 00:54:14 +02:00

fix tests

This commit is contained in:
Robin Appelman 2017-03-06 22:18:18 +01:00
commit 51739e3aa8
5 changed files with 4679 additions and 1 deletions

BIN
src/tests/data/pov.dem Normal file

Binary file not shown.

3203
src/tests/data/pov.json Normal file

File diff suppressed because it is too large Load diff

BIN
src/tests/data/pov2.dem Normal file

Binary file not shown.

1475
src/tests/data/pov2.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -10,7 +10,7 @@ function testDemo(name: string) {
parser.readHeader(); parser.readHeader();
parser.parseBody(); parser.parseBody();
const parsed = parser.match.getState(); const parsed = parser.match.getState();
assert.deepEqual(parsed, target); assert.deepEqual(JSON.parse(JSON.stringify(parsed)), target);
} }
suite('Parse basic demo info', () => { suite('Parse basic demo info', () => {