Skip to content

Commit 6983aaa

Browse files
committed
Strip new line chars to normalize different line separators
1 parent 27869eb commit 6983aaa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/searchcommands/recordings/scpv2/Splunk-6.3/generatehello.output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
chunked 1.0,38,0
2-
{"generating":true,"type":"streaming"}
2+
{"generating":true,"type":"stateful"}
33
chunked 1.0,17,37842
44
{"finished":true}_time,__mv__time,event_no,__mv_event_no,_raw,__mv__raw
55
1500765588.65,,1,,Hello World 1,

tests/searchcommands/test_searchcommands_app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def _load_chunks(self, ifile):
363363
while True:
364364

365365
line = ifile.readline()
366+
line = line.strip()
366367

367368
if len(line) == 0:
368369
break

0 commit comments

Comments
 (0)