Permalink
Browse files

Tests: Make regexes for iOS devices more rigid

  • Loading branch information...
mgol committed Oct 30, 2015
1 parent 47e2aa6 commit 015d16c02dae770eda88e644ec69ce82f25c0412
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/unit/support.js
View
@@ -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,

0 comments on commit 015d16c

Please sign in to comment.