Skip to content

Commit

Permalink
unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
limingli0707 authored and sculpt0r committed May 19, 2021
1 parent e8a07da commit f635631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@
var selectorWithSecondCharIsNotNumber = '-a';
var escapedSelectorWithSecondCharNotNumber = CKEDITOR.tools.escapeCss( selectorWithSecondCharIsNotNumber );

assert.areSame( escapedSelectorWithSecondCharIsNumber, '-\\30 a', 'has U+002D in selector and second character and is in the range [0-9]' );
assert.areSame( escapedSelectorWithSecondCharIsNumber, '-\\31 a', 'has U+002D in selector and second character and is in the range [0-9]' );
assert.areSame( escapedSelectorWithSecondCharNotNumber, '-a', 'has U+002D in selector and second character and is not in the range [0-9]' );
},

Expand Down

0 comments on commit f635631

Please sign in to comment.