Sign in
webkit
/
WebKit
/
56247e8f5d96a3029b7e84701f83e1e2a786fb6e
/
.
/
LayoutTests
/
js
/
script-tests
/
regexp-divequal.js
blob: 9e4e71da8a1f0557304eaa030e182b715515de68 [
file
] [
log
] [
blame
]
description
(
'Test JS parser handling of regex literals starting with /='
);
shouldBe
(
"/=/.toString()"
,
"'/=/'"
);
shouldBeFalse
(
"/=/.test('')"
);
shouldBeTrue
(
"/=/.test('=')"
);
shouldBe
(
"'='.match(/=/)"
,
"['=']"
);
shouldBe
(
"'='.match(/\\=/)"
,
"['=']"
);