Skip to content

Commit

Permalink
Tests: Fix a buggy WebKit regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Jul 10, 2023
1 parent 6c90e69 commit e124e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ QUnit.testUnlessIE( "css(--customProperty)", function( assert ) {
var div = jQuery( "<div>" ).appendTo( "#qunit-fixture" ),
$elem = jQuery( "<div>" ).addClass( "test__customProperties" )
.appendTo( "#qunit-fixture" ),
webkitOrBlink = /\webkit\b/i.test( navigator.userAgent ),
webkitOrBlink = /webkit\b/i.test( navigator.userAgent ),
expected = 20;

if ( webkitOrBlink ) {
Expand Down

0 comments on commit e124e80

Please sign in to comment.