diff options
author | Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2023-07-31 14:02:21 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-08-01 18:44:02 +0300 |
commit | 0db6fbe0be1545a4f25fcd6993371155b37bbb26 (patch) | |
tree | cea60902967897163026cbc7a37055114e431e1a /tests | |
parent | Update .gitignore. (diff) | |
download | xz-0db6fbe0be1545a4f25fcd6993371155b37bbb26.tar.xz |
Docs: Fix typos found by codespell
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_filter_flags.c | 4 | ||||
-rw-r--r-- | tests/test_index.c | 2 | ||||
-rw-r--r-- | tests/test_vli.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c index 5cfccea9..6d9f0b93 100644 --- a/tests/test_filter_flags.c +++ b/tests/test_filter_flags.c @@ -50,7 +50,7 @@ static lzma_filter bcj_filters_encoders[] = { #endif }; -// HAVE_ENCODERS ifdef not termianted here because decoders are +// HAVE_ENCODERS ifdef not terminated here because decoders are // only used if encoders are, but encoders can still be used // even if decoders are not. @@ -174,7 +174,7 @@ verify_filter_flags_encode(lzma_filter *filter, bool should_encode) &filter_id_vli_size, size), LZMA_OK); assert_uint_eq(filter->id, filter_id); - // Next decode the Size of Properites and ensure it equals + // Next decode the Size of Properties and ensure it equals // the expected size. // Expected size should be: // total filter flag length - size of filter id VLI + size of diff --git a/tests/test_index.c b/tests/test_index.c index e01919ee..9732e55f 100644 --- a/tests/test_index.c +++ b/tests/test_index.c @@ -672,7 +672,7 @@ test_lzma_index_iter_rewind(void) assert_uint_eq(iter.block.number_in_file, i + 1); } - // Rewind back to the begining and iterate over the Blocks again + // Rewind back to the beginning and iterate over the Blocks again lzma_index_iter_rewind(&iter); // Should be able to re-iterate over the Blocks again. diff --git a/tests/test_vli.c b/tests/test_vli.c index e82e7270..996b775b 100644 --- a/tests/test_vli.c +++ b/tests/test_vli.c @@ -90,7 +90,7 @@ encode_single_call_mode(lzma_vli input, const uint8_t *expected, // Helper function for test_lzma_vli_encode // Encodes an input VLI one byte at a time with the multi call -// method. Then compares agaist a pre-computed value +// method. Then compares against a pre-computed value static void encode_multi_call_mode(lzma_vli input, const uint8_t *expected, uint32_t expected_len) |