diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-05-02 23:05:56 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-05-02 23:05:56 +0200 |
commit | 7f2ebd2c4dea186d7d981b939e6e2983a9d7f9c1 (patch) | |
tree | f2cf6352bc9959ebc27b942c586f9db26736534a | |
parent | 234a2d828021b6eb36d83d83cc30c5a09045e781 (diff) | |
download | jquery-7f2ebd2c4dea186d7d981b939e6e2983a9d7f9c1.tar.gz jquery-7f2ebd2c4dea186d7d981b939e6e2983a9d7f9c1.zip |
Tests: Make the regex catching Safari 9.0/9.1 more resilient
The word boundary character will prevent iOS from being a false positive.
-rw-r--r-- | test/unit/support.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index 88aa49e55..e6f292ad6 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -130,7 +130,7 @@ testIframe( "radioValue": true, "reliableMarginLeft": true }; - } else if ( /9(\.\d+|) safari/i.test( userAgent ) ) { + } else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) { expected = { "ajax": true, "boxSizingReliable": true, |