(electric-pair-local-mode 1)
(insert-before-markers "int main () {}")
(backward-char 1)
- (let ((last-command-event ?\r))
+ (let ((last-command-event ?\r))
(call-interactively (key-binding `[,last-command-event])))
(should (equal (buffer-string) "int main () {\n \n}"))))
'(after-stay))))))
(insert "int main () {}")
(backward-char 1)
- (let ((last-command-event ?\r))
+ (let ((last-command-event ?\r))
(call-interactively (key-binding `[,last-command-event])))
(should (equal (buffer-string) "int main () {\n \n}"))))
'(after-stay)))))
(insert "int main () {}")
(backward-char 1)
- (let ((last-command-event ?\r))
+ (let ((last-command-event ?\r))
(call-interactively (key-binding `[,last-command-event])))
(should (equal (buffer-string) "int main () {\n \n}"))))