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

Unified Diff: test/mjsunit/verify-check-false.js

Issue 105953005: Add tests and extension verifying CHECK and ASSERT. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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
Index: test/mjsunit/verify-check-false.js
diff --git a/test/mjsunit/regress/regress-2690.js b/test/mjsunit/verify-check-false.js
similarity index 96%
copy from test/mjsunit/regress/regress-2690.js
copy to test/mjsunit/verify-check-false.js
index 0ed4c5c679a61e0fdb91cd0758b1246aa8f36565..426bf846a68855291e577764bf9de8fccfb2b70d 100644
--- a/test/mjsunit/regress/regress-2690.js
+++ b/test/mjsunit/verify-check-false.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: --expose-trigger-failure
+
+triggerCheckFalse();

Powered by Google App Engine
This is Rietveld 408576698