Skip to content

Commit 7669bb5

Browse files
committed
Add test for issue #141
Also some comment/whitespace cleanup
1 parent 3fdd141 commit 7669bb5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/unit-tests.rkt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; - Add a new comment block explaining the test (include issue#, etc)
77
;; - Add `check-vim` (or `check-vim-not-exn`) tests
88
;; - check-vim takes a before string, a list of keys, and after string
9-
;; - Use @~a{ ... } notation to write contents of text buffer for
9+
;; - Use @~a{ ... } notation to write contents of text buffer for tests
1010
;; (this is at-expression syntax, detailed here:
1111
;; https://docs.racket-lang.org/scribble/reader.html)
1212

@@ -391,6 +391,14 @@
391391
'(#\d #\a #\w)
392392
@~a{def ghi})
393393

394+
;; Issue #141
395+
(check-vim
396+
@~a{abc
397+
def}
398+
'(#\l #\l #\d #\w)
399+
@~a{ab
400+
def})
401+
394402
(check-vim
395403
@~a{abc
396404
def}
@@ -422,7 +430,6 @@
422430
'(#\l #\d #\w)
423431
@~a{adef ghi})
424432

425-
426433
(check-vim
427434
@~a{#lang racket}
428435
'(#\d escape #\d)

0 commit comments

Comments
 (0)