From 76d5d3dbabb1c81c96dc24091ab05c8b8d1756f7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 29 May 2019 07:37:28 -0700 Subject: Handle line break --- src/test/java/org/traccar/protocol/TechTltProtocolDecoderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/org') diff --git a/src/test/java/org/traccar/protocol/TechTltProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TechTltProtocolDecoderTest.java index 0e480d835..767f175fe 100644 --- a/src/test/java/org/traccar/protocol/TechTltProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TechTltProtocolDecoderTest.java @@ -11,11 +11,11 @@ public class TechTltProtocolDecoderTest extends ProtocolTest { TechTltProtocolDecoder decoder = new TechTltProtocolDecoder(null); verifyPosition(decoder, text( - "002422269*POS=Y,16:21:20,25/11/09,3809.8063N,01444.7438E,4.17,117.23,0.4,09,40076,56341"), + "002422269*POS=Y,16:21:20,25/11/09,3809.8063N,01444.7438E,4.17,117.23,0.4,09,40076,56341\r\n"), position("2009-11-25 16:21:20.000", true, 38.16344, 14.74573)); verifyAttributes(decoder, text( - "002422269,INFOGPRS,V Bat=13.8,TEMP=23,I TIM,15")); + "002422269,INFOGPRS,V Bat=13.8,TEMP=23,I TIM,15\r\n")); } -- cgit v1.2.3