Change INT_EQ args from uint64_t to int64_t.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/b5a1dd20 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/b5a1dd20 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/b5a1dd20 Branch: refs/heads/master Commit: b5a1dd206ed0f1e19ef999ae595bb2f0ae29409b Parents: 840567e Author: Marvin Humphrey <[email protected]> Authored: Sat Mar 19 01:26:52 2016 +0000 Committer: Marvin Humphrey <[email protected]> Committed: Sat Mar 19 22:34:21 2016 -0700 ---------------------------------------------------------------------- runtime/core/Clownfish/TestHarness/TestBatchRunner.c | 8 ++++---- runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b5a1dd20/runtime/core/Clownfish/TestHarness/TestBatchRunner.c ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/TestHarness/TestBatchRunner.c b/runtime/core/Clownfish/TestHarness/TestBatchRunner.c index f832d0e..df95034 100644 --- a/runtime/core/Clownfish/TestHarness/TestBatchRunner.c +++ b/runtime/core/Clownfish/TestHarness/TestBatchRunner.c @@ -150,8 +150,8 @@ TestBatchRunner_test_false(TestBatchRunner *self, bool condition, } bool -TestBatchRunner_test_int_equals(TestBatchRunner *self, uint64_t got, - uint64_t expected, const char *pattern, ...) { +TestBatchRunner_test_int_equals(TestBatchRunner *self, int64_t got, + int64_t expected, const char *pattern, ...) { va_list args; va_start(args, pattern); bool result = TestBatchRunner_VTest_Int_Equals(self, got, expected, @@ -223,8 +223,8 @@ TestBatchRunner_VTest_False_IMP(TestBatchRunner *self, bool condition, } bool -TestBatchRunner_VTest_Int_Equals_IMP(TestBatchRunner *self, uint64_t got, - uint64_t expected, const char *pattern, +TestBatchRunner_VTest_Int_Equals_IMP(TestBatchRunner *self, int64_t got, + int64_t expected, const char *pattern, va_list args) { bool pass = (got == expected); S_vtest_true(self, pass, pattern, args); http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/b5a1dd20/runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh ---------------------------------------------------------------------- diff --git a/runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh b/runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh index fc39d33..85bec44 100644 --- a/runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh +++ b/runtime/core/Clownfish/TestHarness/TestBatchRunner.cfh @@ -68,7 +68,7 @@ class Clownfish::TestHarness::TestBatchRunner inherits Clownfish::Obj { ...); inert bool - test_int_equals(TestBatchRunner *self, uint64_t got, uint64_t expected, + test_int_equals(TestBatchRunner *self, int64_t got, int64_t expected, const char *pattern, ...); inert bool @@ -97,7 +97,7 @@ class Clownfish::TestHarness::TestBatchRunner inherits Clownfish::Obj { va_list args); bool - VTest_Int_Equals(TestBatchRunner *self, uint64_t got, uint64_t expected, + VTest_Int_Equals(TestBatchRunner *self, int64_t got, int64_t expected, const char *pattern, va_list args); bool
