Fix various typos (#272)

* Fix various typos

Found via `codespell -q 3 -S ./3rdparty -L ba,nin,numer,ro`

* Fix source typo in tests/crt_test.cpp
This commit is contained in:
luzpaz
2022-02-05 22:08:43 -05:00
committed by GitHub
parent c969169fc1
commit ad018d47c6
15 changed files with 35 additions and 35 deletions

View File

@@ -23,14 +23,14 @@ TEST_CASE("memSet", "")
TEST_CASE("memMove", "")
{
const char* orignal = "xxxxabvgd";
const char* original = "xxxxabvgd";
char str[] = { 'x', 'x', 'x', 'x', 'a', 'b', 'v', 'g', 'd' };
bx::memMove(&str[4], &str[4], 0);
REQUIRE(0 == bx::memCmp(str, orignal, 9) );
REQUIRE(0 == bx::memCmp(str, original, 9) );
bx::memMove(&str[4], &str[4], 5);
REQUIRE(0 == bx::memCmp(str, orignal, 9) );
REQUIRE(0 == bx::memCmp(str, original, 9) );
bx::memMove(str, &str[4], 5);
REQUIRE(0 == bx::memCmp(str, "abvgd", 5) );
@@ -39,7 +39,7 @@ TEST_CASE("memMove", "")
REQUIRE(str[4] == 'a' );
bx::memSet(str, 'x', 4);
REQUIRE(0 == bx::memCmp(str, orignal, 9) );
REQUIRE(0 == bx::memCmp(str, original, 9) );
}
TEST_CASE("scatter/gather", "")