about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-01 22:49:47 +0000
committerJames Booth <boothj5@gmail.com>2014-02-01 22:49:47 +0000
commit7d4b6d6f4f770716b092735e68624065da4ec60f (patch)
tree0d9d039c78e4795d931661d778c1a28017acf04f /tests
parent3d7d070b138a29e51dbaff72ebe1223d9f3d59cb (diff)
downloadprofani-tty-7d4b6d6f4f770716b092735e68624065da4ec60f.tar.gz
Changed name of expected values in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/mock_ui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c
index 03672646..623efbd9 100644
--- a/tests/ui/mock_ui.c
+++ b/tests/ui/mock_ui.c
@@ -225,9 +225,9 @@ stub_ui_handle_recipient_error(void)
 // expectations
 
 void
-expect_cons_show(char *output)
+expect_cons_show(char *expected)
 {
-    expect_string(_mock_cons_show, output, output);
+    expect_string(_mock_cons_show, output, expected);
 }
 
 void
@@ -237,9 +237,9 @@ expect_cons_show_calls(int n)
 }
 
 void
-expect_cons_show_error(char *output)
+expect_cons_show_error(char *expected)
 {
-    expect_string(_mock_cons_show_error, output, output);
+    expect_string(_mock_cons_show_error, output, expected);
 }
 
 void