Skip to content

Commit 5c8d863

Browse files
committed
Error message for corrupted database has changed
1 parent d301005 commit 5c8d863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/models/filesystemBackedImpostersRepositoryTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ describe('filesystemBackedImpostersRepository', function () {
588588
assert.deepEqual(err, {
589589
code: 'corrupted database',
590590
message: `invalid JSON in ${responsePath}`,
591-
details: 'Unexpected token C in JSON at position 0'
591+
details: 'Unexpected token \'C\', "CORRUPTED" is not valid JSON'
592592
});
593593
}
594594
});

0 commit comments

Comments
 (0)