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

Unified Diff: test/webkit/fast/regex/ecma-regex-examples-expected.txt

Issue 131363008: A64: Synchronize with r15922. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 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/webkit/fast/regex/ecma-regex-examples.js ('k') | test/webkit/fast/regex/invalid-range-in-class.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/regex/ecma-regex-examples-expected.txt
diff --git a/test/webkit/Array-isArray-expected.txt b/test/webkit/fast/regex/ecma-regex-examples-expected.txt
similarity index 68%
copy from test/webkit/Array-isArray-expected.txt
copy to test/webkit/fast/regex/ecma-regex-examples-expected.txt
index 5af2c158faa24d6a60295b5dd465fc88f5dc5ba5..7ac4113b067fda4e117b4dcd477acd4f2705dc9c 100644
--- a/test/webkit/Array-isArray-expected.txt
+++ b/test/webkit/fast/regex/ecma-regex-examples-expected.txt
@@ -21,25 +21,23 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Test to ensure correct behaviour of Array.array
+This page tests the regex examples from the ECMA-262 specification.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS Array.isArray([]) is true
-PASS Array.isArray(new Array) is true
-PASS Array.isArray(Array()) is true
-PASS Array.isArray('abc'.match(/(a)*/g)) is true
-PASS (function(){ return Array.isArray(arguments); })() is false
-PASS Array.isArray() is false
-PASS Array.isArray(null) is false
-PASS Array.isArray(undefined) is false
-PASS Array.isArray(true) is false
-PASS Array.isArray(false) is false
-PASS Array.isArray('a string') is false
-PASS Array.isArray({}) is false
-PASS Array.isArray({length: 5}) is false
-PASS Array.isArray({__proto__: Array.prototype, length:1, 0:1, 1:2}) is false
+PASS regex01.exec("abc") is ["a"]
+PASS regex02.exec("abc") is ["abc", "a", "a", undefined, "bc", undefined, "bc"]
+PASS regex03.exec("abcdefghi") is ["abcde"]
+PASS regex04.exec("abcdefghi") is ["abc"]
+PASS regex05.exec("aabaac") is ["aaba", "ba"]
+PASS "aaaaaaaaaa,aaaaaaaaaaaaaaa".replace(regex06,"$1") is "aaaaa"
+PASS regex07.exec("zaacbbbcac") is ["zaacbbbcac", "z", "ac", "a", undefined, "c"]
+PASS regex08.exec("b") is ["", undefined]
+PASS regex09.exec("baaaac") is ["b", ""]
+PASS regex10.exec("baaabac") is ["", "aaa"]
+PASS regex11.exec("baaabac") is ["aba", "a"]
+PASS regex12.exec("baaabaac") is ["baaabaac", "ba", undefined, "abaac"]
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/fast/regex/ecma-regex-examples.js ('k') | test/webkit/fast/regex/invalid-range-in-class.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698