We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b9fbf2 + 7c7bc8e commit 11561ddCopy full SHA for 11561dd
test/repl.coffee
@@ -25,7 +25,7 @@ class MockOutputStream extends Stream
25
@written.push data
26
27
lastWrite: (fromEnd = -1) ->
28
- @written[@written.length - 1 + fromEnd].replace /\n$/, ''
+ @written[@written.length - 1 + fromEnd].replace /\r?\n$/, ''
29
30
# Create a dummy history file
31
historyFile = '.coffee_history_test'
0 commit comments