diff options
Diffstat (limited to 'test/execute_test.cc')
-rw-r--r-- | test/execute_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/execute_test.cc b/test/execute_test.cc index 4c686bf..027ef3b 100644 --- a/test/execute_test.cc +++ b/test/execute_test.cc @@ -30,11 +30,11 @@ public: uASSERT(!cmd.empty()); auto value = execute(s, cmd, {"retval", "0"}, {}, false); - uASSERT_EQUAL(0, value); + assert_equal(0, value, __FILE__, __LINE__); value = execute(s, cmd, {"retval", "1"}, {}, false); - uASSERT_EQUAL(1, value); + assert_equal(1, value, __FILE__, __LINE__); value = execute(s, "no-such-binary", {}, {}, false); - uASSERT_EQUAL(1, value); + assert_equal(1, value, __FILE__, __LINE__); } void env() @@ -59,7 +59,7 @@ public: env["LANG"] = "foo"; auto value = execute(s, cmd, {"envdump", tmp.get()}, env, false); - uASSERT_EQUAL(0, value); + assert_equal(0, value, __FILE__, __LINE__); std::vector<std::string> vars; { |