--- 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() {