diff options
author | Samanta Navarro <ferivoz@riseup.net> | 2020-11-11 11:38:19 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-11-12 11:44:09 -0500 |
commit | 4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c (patch) | |
tree | 482e652a53ead4b26e8d97a4854671cdc0df0d61 /src/test/test_util.c | |
parent | e2d3c9c5f82a1369385dd99765c31ba479ba8f23 (diff) | |
download | tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.tar.gz tor-4a0cd79588d2a472ab81e4f1d0e1e1bf6f2b390c.zip |
Fix typos.
Typos found with codespell.
Please keep in mind that this should have impact on actual code
and must be carefully evaluated:
src/core/or/lttng_circuit.inc
- ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER)
+ ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 1c555e4d06..b3a1e2caca 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -4514,7 +4514,7 @@ test_util_glob(void *ptr) smartlist_free(results); \ } while (0); - // wilcards at beginning + // wildcards at beginning const char *results_test1[] = {"dir2", "file2"}; TEST("*2"); EXPECT(results_test1); @@ -4761,7 +4761,7 @@ test_util_get_glob_opened_files(void *ptr) TEST("*"PATH_SEPARATOR); EXPECT(results_test2); - // wilcards in multiple path components + // wildcards in multiple path components #ifndef _WIN32 const char *results_test3[] = {"", "dir1", "dir2", "empty", "file1", "file2", "forbidden"}; @@ -6193,7 +6193,7 @@ test_util_hostname_validation(void *arg) // XXX: do we allow single-label DNS names? // We shouldn't for SOCKS (spec says "contains a fully-qualified domain name" - // but only test pathologically malformed traling '.' cases for now. + // but only test pathologically malformed trailing '.' cases for now. tt_assert(!string_is_valid_nonrfc_hostname(".")); tt_assert(!string_is_valid_nonrfc_hostname("..")); |