diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-11 11:27:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-11 11:27:08 -0700 |
commit | 2099230503370be87b893287e264aa200d0d930f (patch) | |
tree | 618b9aff989e713dc734b871a5c082f3c734f779 /src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java | |
parent | 4904b15558f05b3458fc5f80253707e51f0ff2c0 (diff) | |
download | trackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.gz trackermap-server-2099230503370be87b893287e264aa200d0d930f.tar.bz2 trackermap-server-2099230503370be87b893287e264aa200d0d930f.zip |
Use var in tests
Diffstat (limited to 'src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java index 36fd7ecba..223f4f12f 100644 --- a/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java @@ -8,7 +8,7 @@ public class SanavProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { - SanavProtocolDecoder decoder = new SanavProtocolDecoder(null); + var decoder = new SanavProtocolDecoder(null); verifyPosition(decoder, text( "imei=353197040023431&rmc=$GPRMC,015258.000,A,2457.8101,N,12125.5393,E,0.00,0.00,210111,,*18,AUTO,0300,2.1,10,466,97,34E7,3391,74,466,9 7,3F2D,3391,65,466,97,39C9,3391,79,466,97,3F2C,3391,81,466,97,0000,00 00,83,466,97,0000,0000,85,466,97,0000,0000,85,1,24")); |