mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
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:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user