a change to hopefully improve the error message this file (sometimes) get in drdr

This commit is contained in:
Robby Findler 2010-07-31 10:29:07 -05:00
parent f96ed0632a
commit 5e8e4c6ffc

View File

@ -1194,7 +1194,7 @@ This produces an ACK message
(test:run-one (lambda () (send (send drscheme-frame get-break-button) command)))) (test:run-one (lambda () (send (send drscheme-frame get-break-button) command))))
(wait-for-execute) (wait-for-execute)
(let* ([execute-text-end (- (get-int-pos) 1)] ;; subtract one to skip last newline (let* ([execute-text-end (max 0 (- (get-int-pos) 1))] ;; subtract one to skip last newline
[received-execute [received-execute
(fetch-output drscheme-frame execute-text-start execute-text-end)]) (fetch-output drscheme-frame execute-text-start execute-text-end)])