on master help sign in
adjust expected output in interactive test to account for how the initial newline is handled in the string quasiquoter
53d501bCorey O'Connor
test/interactive_terminal_test.hs+4
@@ -321,6 +321,7 @@ Once return is pressed:
321 then putStr " 1. The cursor will be visible."
321 then putStr " 1. The cursor will be visible."
322 else putStr " 1. The cursor will NOT be visible."
322 else putStr " 1. The cursor will NOT be visible."
323 putStr [s|
323 putStr [s|
324+
324 2. The border of the display will be outlined in Xs.
325 2. The border of the display will be outlined in Xs.
325 So if - and | represented the edge of the terminal window:
326 So if - and | represented the edge of the terminal window:
326 |-------------|
327 |-------------|
@@ -329,11 +330,14 @@ Once return is pressed:
329
330
330 if has_cursor
331 if has_cursor
331 then putStr $ [s|
332 then putStr $ [s|
333+
332 |XXXXXXXXXXXXC| |]
334 |XXXXXXXXXXXXC| |]
333 else putStr $ [s|
335 else putStr $ [s|
336+
334 |XXXXXXXXXXXXX| |]
337 |XXXXXXXXXXXXX| |]
335
338
336 putStr $ [s|
339 putStr $ [s|
340+
337 |-------------|
341 |-------------|
338
342
339 ( Where C is the final position of the cursor. There may be an X drawn
343 ( Where C is the final position of the cursor. There may be an X drawn