From: Tilman Sauerbeck Date: Sat, 18 Jan 2020 18:51:02 +0000 (+0100) Subject: test: Order arguments to assert_eq!() consistently. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=c30d12f3ee1f0036a1a8babcd4986c2723dd6310;p=gps-watch.git test: Order arguments to assert_eq!() consistently. The expected value comes first. --- 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); }