diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-23 12:14:46 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-26 15:32:45 +0100 |
commit | c96f8afe3b3e453dcc6d4b8c9e0ae3b143e2188f (patch) | |
tree | c5b9c1162cb6086083fbe4d179cacedb5a0e9c2c /test/execute_test.cc | |
parent | 78c5477b3989d67169de2d05665adfb801caab23 (diff) |
WIP
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; { |