diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-09-15 21:36:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-15 21:36:23 -0400 |
commit | d68465754827d61c8aebd8a5d8af53f13296acf3 (patch) | |
tree | 115904c67fb756a8eff61c8957db37bdad477991 /src/test/test.c | |
parent | 34bf9b36905c015f0faf45ee79e0539a0e9e7a3e (diff) | |
download | tor-d68465754827d61c8aebd8a5d8af53f13296acf3.tar.gz tor-d68465754827d61c8aebd8a5d8af53f13296acf3.zip |
Replace all uses of test_{str,}eq
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test.c b/src/test/test.c index 516fa42b41..31224ca3ab 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -761,11 +761,11 @@ test_rend_fns(void) } while (0) #define CHECK_COUNTRY(country, val) do { \ /* test ipv4 country lookup */ \ - test_streq(country, \ + tt_str_op(country, ==, \ geoip_get_country_name(geoip_get_country_by_ipv4(val))); \ /* test ipv6 country lookup */ \ SET_TEST_IPV6(val); \ - test_streq(country, \ + tt_str_op(country, ==, \ geoip_get_country_name(geoip_get_country_by_ipv6(&in6))); \ } while (0) |