add tests for 'ye' yank motion
This commit is contained in:
@@ -25,6 +25,18 @@ struct
|
||||
loop (0, app)
|
||||
end
|
||||
|
||||
fun isStringYanked (app: AppType.app_type, expectedString) =
|
||||
let
|
||||
open MailboxType
|
||||
open DrawMsg
|
||||
|
||||
fun loop (DRAW (YANK actualString) :: _) = expectedString = actualString
|
||||
| loop (hd :: tl) = loop tl
|
||||
| loop ([]) = false
|
||||
in
|
||||
loop (#msgs app)
|
||||
end
|
||||
|
||||
fun expectYank (app: AppType.app_type, expectedString) =
|
||||
let
|
||||
open MailboxType
|
||||
|
||||
Reference in New Issue
Block a user