Commit 5489f1d8d63eaa1d3cfc6cbf34c0e337656f2e5d
1 parent
3630a8c5
Code formatting updates
Showing
2 changed files
with
4 additions
and
4 deletions
libtests/qintc.cc
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | #include <stdint.h> | 4 | #include <stdint.h> |
| 5 | 5 | ||
| 6 | #define try_convert(exp_pass, fn, i) \ | 6 | #define try_convert(exp_pass, fn, i) \ |
| 7 | - try_convert_real(#fn "(" #i ")", exp_pass, fn, i) | 7 | + try_convert_real(#fn "(" #i ")", exp_pass, fn, i) |
| 8 | 8 | ||
| 9 | template <typename From, typename To> | 9 | template <typename From, typename To> |
| 10 | static void | 10 | static void |
| @@ -27,7 +27,7 @@ try_convert_real( | @@ -27,7 +27,7 @@ try_convert_real( | ||
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | #define try_range_check(exp_pass, a, b) \ | 29 | #define try_range_check(exp_pass, a, b) \ |
| 30 | - try_range_check_real(#a " + " #b, exp_pass, a, b) | 30 | + try_range_check_real(#a " + " #b, exp_pass, a, b) |
| 31 | 31 | ||
| 32 | template <typename T> | 32 | template <typename T> |
| 33 | static void | 33 | static void |
| @@ -47,7 +47,7 @@ try_range_check_real( | @@ -47,7 +47,7 @@ try_range_check_real( | ||
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | #define try_range_check_subtract(exp_pass, a, b) \ | 49 | #define try_range_check_subtract(exp_pass, a, b) \ |
| 50 | - try_range_check_subtract_real(#a " - " #b, exp_pass, a, b) | 50 | + try_range_check_subtract_real(#a " - " #b, exp_pass, a, b) |
| 51 | 51 | ||
| 52 | template <typename T> | 52 | template <typename T> |
| 53 | static void | 53 | static void |
qpdf/test_driver.cc
| @@ -194,7 +194,7 @@ print_rect(std::ostream& out, QPDFObjectHandle::Rectangle const& r) | @@ -194,7 +194,7 @@ print_rect(std::ostream& out, QPDFObjectHandle::Rectangle const& r) | ||
| 194 | } | 194 | } |
| 195 | 195 | ||
| 196 | #define assert_compare_numbers(expected, expr) \ | 196 | #define assert_compare_numbers(expected, expr) \ |
| 197 | - compare_numbers(#expr, expected, expr) | 197 | + compare_numbers(#expr, expected, expr) |
| 198 | 198 | ||
| 199 | template <typename T1, typename T2> | 199 | template <typename T1, typename T2> |
| 200 | static void | 200 | static void |