Typo fixes (#2457)

* fix typos in comments and strings
* fix typos in symbols (and some comments/strings)
* fix typos in releasenotes.md

---------

Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
This commit is contained in:
niedlich
2025-09-04 01:07:07 +02:00
committed by GitHub
parent 10241df23c
commit cf14787552
47 changed files with 197 additions and 195 deletions

View File

@@ -273,7 +273,7 @@ fn void contains_char()
assert(!test.contains_char('x'));
}
fn void test_base_13_convesion()
fn void test_base_13_conversion()
{
assert("13".to_long(13)!! == 13 + 3);
assert("1a".to_long(13)!! == 13 + 10);
@@ -382,4 +382,4 @@ fn void test_snake_pascal_self_modify()
s2.convert_snake_to_pascal();
test::eq(s2, s[1]);
}
}
}

View File

@@ -135,8 +135,8 @@ fn void bsearch() @test
key = 6;
found = (CInt*) libc::bsearch(&key, int_ar, 7, CInt.sizeof, &compare_cint);
assert(*found == 6);
CInt non_existant_key = 12;
found = (CInt*) libc::bsearch(&non_existant_key, int_ar, 7, CInt.sizeof, &compare_cint);
CInt non_existent_key = 12;
found = (CInt*) libc::bsearch(&non_existent_key, int_ar, 7, CInt.sizeof, &compare_cint);
assert(found == null);
Event[] events = {