fix replace-all test suite for when the replace string changes
This commit is contained in:
parent
5a09d2b825
commit
84433c528c
|
@ -175,8 +175,13 @@
|
||||||
(queue-callback (λ () (semaphore-post s)) #f)
|
(queue-callback (λ () (semaphore-post s)) #f)
|
||||||
(semaphore-wait s))
|
(semaphore-wait s))
|
||||||
|
|
||||||
|
(test:menu-select "Edit" "Select All")
|
||||||
|
(cond
|
||||||
|
[(equal? replace-string "")
|
||||||
|
(test:keystroke #\backspace)]
|
||||||
|
[else
|
||||||
(for ([c (in-string replace-string)])
|
(for ([c (in-string replace-string)])
|
||||||
(test:keystroke c))
|
(test:keystroke c))])
|
||||||
|
|
||||||
(queue-callback
|
(queue-callback
|
||||||
(λ ()
|
(λ ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user