From 4e3a90ca42dfd3871c92d06e769b988002f4f0bb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 3 Mar 2015 21:47:30 +1300 Subject: Handle line break in Taip (fix #1106) --- test/org/traccar/protocol/SyrusProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/org/traccar/protocol/SyrusProtocolDecoderTest.java b/test/org/traccar/protocol/SyrusProtocolDecoderTest.java index 72c06d3fc..9b2457c99 100644 --- a/test/org/traccar/protocol/SyrusProtocolDecoderTest.java +++ b/test/org/traccar/protocol/SyrusProtocolDecoderTest.java @@ -26,6 +26,10 @@ public class SyrusProtocolDecoderTest { assertNotNull(decoder.decode(null, null, ">RPV02138+4555512-0735478000000032;ID=1005;*76<")); + + assertNotNull(decoder.decode(null, null, + ">RPV19105+4538405-0739518900000012;ID=9999;*7A<\r\n")); + } -- cgit v1.2.3