From 26e6fd7c1779a63913cc7720cbc6c87b3b7b3285 Mon Sep 17 00:00:00 2001 From: Gorkem Yakin Date: Wed, 30 Sep 2015 08:54:45 -0700 Subject: [PATCH] Convert binary integers to octal in octal integer tests --- .../Number/string-octal-literal-invald.js | 16 ++++++++-------- .../literals/numeric/octal-invalid-truncated.js | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/built-ins/Number/string-octal-literal-invald.js b/test/built-ins/Number/string-octal-literal-invald.js index f9621dfbbf..e976354ce7 100644 --- a/test/built-ins/Number/string-octal-literal-invald.js +++ b/test/built-ins/Number/string-octal-literal-invald.js @@ -5,14 +5,14 @@ es6id: 20.1.1.1 description: Invalid octal literals yield NaN info: > - BinaryIntegerLiteral :: - 0b BinaryDigits - 0B BinaryDigits - BinaryDigits :: - BinaryDigit - BinaryDigits BinaryDigit - BinaryDigit :: one of - 0 1 + OctalIntegerLiteral :: + 0o OctalDigits + 0O OctalDigits + OctalDigits :: + OctalDigit + OctalDigits OctalDigit + OctalDigit :: one of + 0 1 2 3 4 5 6 7 ---*/ assert.sameValue(Number('0o8'), NaN, 'invalid digit'); diff --git a/test/language/literals/numeric/octal-invalid-truncated.js b/test/language/literals/numeric/octal-invalid-truncated.js index 1588d062b8..f17c4860c1 100644 --- a/test/language/literals/numeric/octal-invalid-truncated.js +++ b/test/language/literals/numeric/octal-invalid-truncated.js @@ -16,4 +16,4 @@ info: > negative: SyntaxError ---*/ -0b; +0o;