aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_filter_flags.c4
-rw-r--r--tests/test_index.c2
-rw-r--r--tests/test_vli.c2
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)