Skip to content

Commit 45e63c1

Browse files
committed
fix encoding problems
1 parent 3176cd5 commit 45e63c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/formats/token.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module.exports = {
6363
}
6464
}
6565
if (p[1] != j[1]) { // check the token contents
66+
j[1] = JSON.parse( JSON.stringify( j[1] ) );
6667
console.log('FAIL : Expected "' + p[1] + '" contents, but found "' + j[1] + '"');
6768
fail = true;
6869
}

bin/formats/token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
echo ',';
2121
}
2222
}
23-
echo ']';
23+
echo ']';

0 commit comments

Comments
 (0)