summaryrefslogtreecommitdiff
path: root/libgweather/tests
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-11-19 17:52:14 +0000
committerEmmanuele Bassi <ebassi@gmail.com>2021-11-19 18:25:44 +0000
commit2b78434aa0d2c8f9092fa88173ba69c9dc94cb0b (patch)
tree2201658a086e7adea8e8ada7b8694806eb9e3b77 /libgweather/tests
parentdbe06e79ce8f5482b08a88204341f3a156281d8b (diff)
downloadlibgweather-2b78434aa0d2c8f9092fa88173ba69c9dc94cb0b.tar.gz
tests: Replace a warning with a test message
Diffstat (limited to 'libgweather/tests')
-rw-r--r--libgweather/tests/test_libgweather.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgweather/tests/test_libgweather.c b/libgweather/tests/test_libgweather.c
index 4859a0e..023454d 100644
--- a/libgweather/tests/test_libgweather.c
+++ b/libgweather/tests/test_libgweather.c
@@ -94,11 +94,9 @@ test_airport_distance_sanity (void)
test_airport_distance_children (world);
- if (g_test_failed ())
- g_warning ("Maximum city to airport distance is %.1f km", max_distance);
+ g_test_message ("Maximum airport distance: %g", max_distance);
g_clear_object (&world);
-
gweather_test_reset_world ();
}