From c30d12f3ee1f0036a1a8babcd4986c2723dd6310 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 18 Jan 2020 19:51:02 +0100 Subject: [PATCH] test: Order arguments to assert_eq!() consistently. The expected value comes first. --- test/gps_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gps_test.rs b/test/gps_test.rs index bed56a7..b43e080 100644 --- a/test/gps_test.rs +++ b/test/gps_test.rs @@ -82,6 +82,6 @@ $GPGGA,110338.000,1234.5678,N,12345.6789,E,\ assert_eq!(true, has_fix); assert_eq!(1477998218, tap.unix_time); - assert_eq!(tap.latitude, 7545678); - assert_eq!(tap.longitude, 74256789); + assert_eq!(7545678, tap.latitude); + assert_eq!(74256789, tap.longitude); } -- 2.30.2