test/script/basic/JDK-8044612.js

changeset 962
ac62e33a99b0
parent 0
b1a7da25b547
equal deleted inserted replaced
961:93b032dd26bc 962:ac62e33a99b0
32 fail("String.prototype.replace failed to handle '$' as replacement"); 32 fail("String.prototype.replace failed to handle '$' as replacement");
33 } 33 }
34 34
35 if ("hello".replace("o", "$x") != "hell$x") { 35 if ("hello".replace("o", "$x") != "hell$x") {
36 fail("String.prototype.replace failed to handle '$x' as replacement"); 36 fail("String.prototype.replace failed to handle '$x' as replacement");
37 } 37 }

mercurial