@@ -699,7 +699,7 @@ describe "Operators", ->
699699
700700 it " undoes correctly with u" , ->
701701 keydown (' escape' )
702- expect (vimState .mode ).toBe " command "
702+ expect (vimState .mode ).toBe " normal "
703703 keydown ' u'
704704 expect (editor .getText ()).toBe (" 12345(67)8\n abc(d)e\n A()BCDE" )
705705
@@ -737,32 +737,32 @@ describe "Operators", ->
737737 editor .setCursorScreenPosition ([1 , 0 ])
738738 keydown (' .' )
739739 expect (editor .getText ()).toBe (" 1x8\n xe\n A()BCDE" )
740- expect (vimState .mode ).toBe " command "
740+ expect (vimState .mode ).toBe " normal "
741741
742742 it " repeats correctly on the opening bracket" , ->
743743 editor .setCursorScreenPosition ([1 , 3 ])
744744 keydown (' .' )
745745 expect (editor .getText ()).toBe (" 1x8\n abcxe\n A()BCDE" )
746- expect (vimState .mode ).toBe " command "
746+ expect (vimState .mode ).toBe " normal "
747747
748748 it " repeats correctly inside brackets" , ->
749749 editor .setCursorScreenPosition ([1 , 4 ])
750750 keydown (' .' )
751751 expect (editor .getText ()).toBe (" 1x8\n abcx)e\n A()BCDE" )
752- expect (vimState .mode ).toBe " command "
752+ expect (vimState .mode ).toBe " normal "
753753
754754 it " repeats correctly on the closing bracket" , ->
755755 editor .setCursorScreenPosition ([1 , 5 ])
756756 keydown (' .' )
757757 expect (editor .getText ()).toBe (" 1x8\n abcxe\n A()BCDE" )
758- expect (vimState .mode ).toBe " command "
758+ expect (vimState .mode ).toBe " normal "
759759
760760 it " does nothing when repeated after a bracket" , ->
761761 editor .setCursorScreenPosition ([2 , 3 ])
762762 keydown (' .' )
763763 # differs from VIM, fixed in #774
764764 expect (editor .getText ()).toBe (" 1x8\n abc(d)e\n A()xBCDE" )
765- expect (vimState .mode ).toBe " command "
765+ expect (vimState .mode ).toBe " normal "
766766
767767 describe " when followed by a goto line G" , ->
768768 beforeEach ->
0 commit comments