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 () {
199199 } )
200200
201201 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 ( ) {
203203 focus ( )
204204 setVisualValue ( 'The |quick| brown fox jumps over the lazy dog' )
205205 pressHotkey ( 'B' ) // capital `B` instead of lowercase `b`
206206 assert . equal ( 'The |quick| brown fox jumps over the lazy dog' , visualValue ( ) )
207207 } )
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+ } )
208215 } )
209216
210217 describe ( 'bold' , function ( ) {
You can’t perform that action at this time.
0 commit comments