21 lines
770 B
Diff
21 lines
770 B
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: John Kleinschmidt <jkleinsc@github.com>
|
||
|
Date: Wed, 2 Dec 2020 11:19:26 -0500
|
||
|
Subject: Simplify ScriptOrigin
|
||
|
|
||
|
Update nantest to handle changes in https://chromium-review.googlesource.com/c/v8/v8/+/2555005
|
||
|
|
||
|
diff --git a/test/cpp/nannew.cpp b/test/cpp/nannew.cpp
|
||
|
index a489f9405d3d39dfb71375d490ba32f9c05c610d..c6cca837f485ac4a245bd2d4a479e33f6250fd1d 100644
|
||
|
--- a/test/cpp/nannew.cpp
|
||
|
+++ b/test/cpp/nannew.cpp
|
||
|
@@ -246,7 +246,7 @@ NAN_METHOD(testScript) {
|
||
|
|
||
|
t.plan(6);
|
||
|
|
||
|
- ScriptOrigin origin(New("foo").ToLocalChecked(), New(5));
|
||
|
+ ScriptOrigin origin(New("foo").ToLocalChecked(), 5);
|
||
|
|
||
|
t.ok(_( assertType<Script>(New<Script>(
|
||
|
New("2 + 3").ToLocalChecked()).ToLocalChecked())));
|