Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1394)

Unified Diff: test/mjsunit/print.js

Issue 2458963003: Add Shell::PrintErr and expose it in the d8 shell as printErr (Closed)
Patch Set: Normalize and unify Print/PrintErr Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/print.js
diff --git a/test/message/arrow-invalid-rest-2.js b/test/mjsunit/print.js
similarity index 54%
copy from test/message/arrow-invalid-rest-2.js
copy to test/mjsunit/print.js
index 3517803d30256b09e78a1aa1f43817e733dc060e..1ec3383e47bb3fac1c37877f46b6caad99836e5f 100644
--- a/test/message/arrow-invalid-rest-2.js
+++ b/test/mjsunit/print.js
@@ -1,8 +1,6 @@
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-//
-var f = (a, ...x = 10) => x;
-f(1, 2, 3, 4, 5);
+assertEquals("function", typeof print, "print should be defined");
+assertEquals("function", typeof printErr, "printErr should be defined");
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698