Index: test/preparser/strict-octal-number.js |
diff --git a/test/preparser/strict-octal-directive-after.js b/test/preparser/strict-octal-number.js |
similarity index 92% |
rename from test/preparser/strict-octal-directive-after.js |
rename to test/preparser/strict-octal-number.js |
index a878e758abe6a26d7875f7d15e4794f9ea788bc0..d387d6a32e1d434da34017a66823d875d8e020ec 100644 |
--- a/test/preparser/strict-octal-directive-after.js |
+++ b/test/preparser/strict-octal-number.js |
@@ -25,11 +25,10 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Strict mode with octal escape in string/directive prologue after |
-// "use strict" directive. |
+// Strict mode with octal number literal. |
function foo() { |
"use strict"; |
- "use hello\040world"; |
- return true; |
+ var x = 012; |
+ return x; |
} |