aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 20:23:08 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 20:23:08 -0800
commit965ef9eb530963e71ce33c2a06af389c78192b51 (patch)
treee8ad77c995524d71289d7667f32ab5bb8efc03e0 /src/test
parentf78da0d7ead0e445f129eac486cc468bedff7c73 (diff)
downloadtrackermap-server-965ef9eb530963e71ce33c2a06af389c78192b51.tar.gz
trackermap-server-965ef9eb530963e71ce33c2a06af389c78192b51.tar.bz2
trackermap-server-965ef9eb530963e71ce33c2a06af389c78192b51.zip
Handle new lines
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
index aca6b9f29..ddfa6ad8b 100644
--- a/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MobilogixProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class MobilogixProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, text(
"[2021-08-20 19:27:14,T14,1,V1.3.5,201909000982,53,12.18"));
+ verifyAttributes(decoder, text(
+ "\r\n[2021-08-20 19:27:14,T14,1,V1.3.5,201909000982,53,12.18"));
+
verifyNull(decoder, text(
"[2020-12-01 14:00:22,T1,1,V1.1.1,201951132031,,,12345678,724108005415815,359366080211420"));