fixed type assert_regexp_match
authorMarcos Caceres <w3c@marcosc.com>
Tue, 17 Jul 2012 17:18:06 +0100
changeset 169 967d74d611e4
parent 168 26c4e987c325
child 170 ea56d2e10faa
fixed type assert_regexp_match
proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js
proximity/tests/submissions/marcos/UserProximityEvent_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() {
--- 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() {