Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
tests: Fix comment about verbosity and immediate failure
Browse files Browse the repository at this point in the history
It was the wrong way around
  • Loading branch information
hadess committed Sep 4, 2019
1 parent 017bd70 commit 818a990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test-orientation.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test_orientation (void)
9.81 / ONEG);
result = orientation_to_string (o);
expected = orientation_to_string (orientations[i].expected);
/* Fail straight away when verbose */
/* Fail straight away when not verbose */
if (g_test_verbose ()) {
if (g_strcmp0 (result, expected) != 0) {
g_test_message ("Expected %s, got %s", expected, result);
Expand Down

0 comments on commit 818a990

Please sign in to comment.