on master help sign in
adjust expected output in interactive test to account for how the initial newline is handled in the string quasiquoter
commit53d501be143f75552dd60f0ed877b043ffdafdeb authorCorey O'Connor <coreyoconnor@gmail.com> dateFri 8 Feb 2013, 20:05 (14 years ago) parentc80c788
1 file changed+4
test/interactive_terminal_test.hs+4
test/interactive_terminal_test.hs+4
@@ -321,6 +321,7 @@ Once return is pressed:
321321 then putStr " 1. The cursor will be visible."
322322 else putStr " 1. The cursor will NOT be visible."
323323 putStr [s|
324+
324325 2. The border of the display will be outlined in Xs.
325326 So if - and | represented the edge of the terminal window:
326327 |-------------|
@@ -329,11 +330,14 @@ Once return is pressed:
329330
330331 if has_cursor
331332 then putStr $ [s|
333+
332334 |XXXXXXXXXXXXC| |]
333335 else putStr $ [s|
336+
334337 |XXXXXXXXXXXXX| |]
335338
336339 putStr $ [s|
340+
337341 |-------------|
338342
339343 ( Where C is the final position of the cursor. There may be an X drawn