Changeset a24df004 in mainline for uspace/lib/pcut/include/pcut/asserts.h
- Timestamp:
- 2018-03-18T13:05:53Z (6 years ago)
- Parents:
- 973be387 (diff), c6a1768 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-03-18 13:05:53)
- git-committer:
- GitHub <noreply@…> (2018-03-18 13:05:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/include/pcut/asserts.h
r973be387 ra24df004 186 186 #define PCUT_ASSERT_INT_EQUALS(expected, actual) \ 187 187 do {\ 188 long pcut_expected_eval = (expected); \189 long pcut_actual_eval = (actual); \188 long long pcut_expected_eval = (expected); \ 189 long long pcut_actual_eval = (actual); \ 190 190 if (pcut_expected_eval != pcut_actual_eval) { \ 191 PCUT_ASSERTION_FAILED("Expected <%l d> but got <%ld> (%s != %s)", \191 PCUT_ASSERTION_FAILED("Expected <%lld> but got <%lld> (%s != %s)", \ 192 192 pcut_expected_eval, pcut_actual_eval, \ 193 193 #expected, #actual); \
Note:
See TracChangeset
for help on using the changeset viewer.