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

Unified Diff: test/message/instanceof-noncallable.js

Issue 1814823002: ES6: instanceof error messages need updating. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed messages.js Created 4 years, 9 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 | « test/message/instanceof.out ('k') | test/message/instanceof-noncallable.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/instanceof-noncallable.js
diff --git a/test/mjsunit/regress/regress-2690.js b/test/message/instanceof-noncallable.js
similarity index 97%
copy from test/mjsunit/regress/regress-2690.js
copy to test/message/instanceof-noncallable.js
index 0ed4c5c679a61e0fdb91cd0758b1246aa8f36565..571a2b0c7667d750c4385675bd628652bf7c0bb2 100644
--- a/test/mjsunit/regress/regress-2690.js
+++ b/test/message/instanceof-noncallable.js
@@ -25,4 +25,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-assertTrue(/\1[a]/.test("\1a"));
+// Flags: --harmony-instanceof
+
+1 instanceof {};
« no previous file with comments | « test/message/instanceof.out ('k') | test/message/instanceof-noncallable.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698