aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-10-30 19:16:27 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2015-10-30 19:17:07 +0100
commit015d16c02dae770eda88e644ec69ce82f25c0412 (patch)
treebd3b1a97e1e5629a040f8f3a812e7cd602473211 /test/unit
parent47e2aa6593a77c94eef610ac784494884f598253 (diff)
downloadjquery-015d16c02dae770eda88e644ec69ce82f25c0412.tar.gz
jquery-015d16c02dae770eda88e644ec69ce82f25c0412.zip
Tests: Make regexes for iOS devices more rigid
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/support.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index b3a85dd6e..6a51ccb8a 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -178,7 +178,7 @@ testIframeWithCallback(
"radioValue": true,
"reliableMarginLeft": false
};
- } else if ( /iphone os 9/i.test( userAgent ) ) {
+ } else if ( /iphone os 9_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
@@ -195,7 +195,7 @@ testIframeWithCallback(
"radioValue": true,
"reliableMarginLeft": true
};
- } else if ( /iphone os 8/i.test( userAgent ) ) {
+ } else if ( /iphone os 8_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
@@ -212,7 +212,7 @@ testIframeWithCallback(
"radioValue": true,
"reliableMarginLeft": true
};
- } else if ( /iphone os 7/i.test( userAgent ) ) {
+ } else if ( /iphone os 7_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,