File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -199,12 +199,19 @@ describe('markdown-toolbar-element', function () {
199
199
} )
200
200
201
201
describe ( 'hotkey case-sensitivity' , function ( ) {
202
- it ( 'does not bold selected text when using the capitalized hotkey' , function ( ) {
202
+ it ( 'does not bold selected text when using the uppercased hotkey' , function ( ) {
203
203
focus ( )
204
204
setVisualValue ( 'The |quick| brown fox jumps over the lazy dog' )
205
205
pressHotkey ( 'B' ) // capital `B` instead of lowercase `b`
206
206
assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
207
207
} )
208
+
209
+ it ( 'does not codeblock selected text when using the lowercased hotkey' , function ( ) {
210
+ focus ( )
211
+ setVisualValue ( 'The |quick| brown fox jumps over the lazy dog' )
212
+ pressHotkey ( 'c' ) // lowercase `c` instead of uppercase `C`
213
+ assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
214
+ } )
208
215
} )
209
216
210
217
describe ( 'bold' , function ( ) {
You can’t perform that action at this time.
0 commit comments