dap commit: fixed type assert_regexp_match

changeset:   169:967d74d611e4
user:        Marcos Caceres <w3c@marcosc.com>
date:        Tue Jul 17 17:18:06 2012 +0100
files:       proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js proximity/tests/submissions/marcos/UserProximityEvent_tests.js
description:
fixed type assert_regexp_match


diff -r 26c4e987c325 -r 967d74d611e4 proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js
--- a/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js	Tue Jul 17 17:17:22 2012 +0100
+++ b/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js	Tue Jul 17 17:18:06 2012 +0100
@@ -118,7 +118,7 @@
 
     test(function() {
         var event = new DeviceProximityEvent(function test() {});
-        assert_regex_match(event.type, /function test.+{\s?}/);
+        assert_regexp_match(event.type, /function test.+{\s?}/);
     }, 'type argument is function');
 
     test(function() {
diff -r 26c4e987c325 -r 967d74d611e4 proximity/tests/submissions/marcos/UserProximityEvent_tests.js
--- a/proximity/tests/submissions/marcos/UserProximityEvent_tests.js	Tue Jul 17 17:17:22 2012 +0100
+++ b/proximity/tests/submissions/marcos/UserProximityEvent_tests.js	Tue Jul 17 17:18:06 2012 +0100
@@ -117,7 +117,7 @@
 
     test(function() {
         var event = new UserProximityEvent(function test() {});
-        assert_regex_match(event.type, /function test.+{\s?}/);
+        assert_regexp_match(event.type, /function test.+{\s?}/);
     }, 'type argument is function');
 
     test(function() {

Received on Tuesday, 17 July 2012 16:20:45 UTC