[folks] tests: Upgrade a warning to an error
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] tests: Upgrade a warning to an error
- Date: Fri, 23 Jan 2015 13:13:32 +0000 (UTC)
commit 1ecb3346985a0b155f074810da848a9de3b55770
Author: Philip Withnall <philip withnall collabora co uk>
Date: Fri Jan 23 12:58:34 2015 +0000
tests: Upgrade a warning to an error
If this fails, the test cannot complete successfully, so we might as
well make sure the warning message doesn’t get buried by subsequent log
output.
tests/lib/test-utils.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/lib/test-utils.vala b/tests/lib/test-utils.vala
index 963d927..b09ef16 100644
--- a/tests/lib/test-utils.vala
+++ b/tests/lib/test-utils.vala
@@ -170,7 +170,7 @@ public class Folks.TestUtils
catch (GLib.Error e1)
{
retval = false;
- warning ("Failed to read loadable icon for comparison: %s",
+ error ("Failed to read loadable icon for comparison: %s",
e1.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]