Skip to content

Commit a8b5425

Browse files
christianbundyljharb
authored andcommitted
[Tests] Fix invalid strict-mode syntax with hexadecimal
1 parent 589e87a commit a8b5425

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"rules": {
55
"indent": [2, 4],
66
"strict": 1,
7-
"no-octal-escape": 1,
87
},
98
"globals": {
109
"BigInt": false,

test/lowbyte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var test = require('tape');
22
var inspect = require('../');
33

4-
var obj = { x: 'a\r\nb', y: '\5! \x1f \022' };
4+
var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' };
55

66
test('interpolate low bytes', function (t) {
77
t.plan(1);

0 commit comments

Comments
 (0)