1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

Everywhere: Fix a variety of typos

Spelling fixes found by `codespell`.
This commit is contained in:
Brian Gianforcaro 2022-09-09 14:53:53 -07:00
parent 63c727a4a3
commit d0a1775369
30 changed files with 38 additions and 38 deletions

View file

@ -51,7 +51,7 @@ TEST_CASE(move)
TEST_CASE(no_allocation)
{
FixedArray<int> array = FixedArray<int>::must_create_but_fixme_should_propagate_errors(5);
EXPECT_NO_CRASH("Assigments", [&] {
EXPECT_NO_CRASH("Assignments", [&] {
NoAllocationGuard guard;
array[0] = 0;
array[1] = 1;

View file

@ -12,7 +12,7 @@
TEST_CASE(malloc_limits)
{
EXPECT_NO_CRASH("Allocation of 0 size should succed at allocation and release", [] {
EXPECT_NO_CRASH("Allocation of 0 size should succeed at allocation and release", [] {
errno = 0;
void* ptr = malloc(0);
EXPECT_EQ(errno, 0);

View file

@ -502,7 +502,7 @@ static bool verify_test(Result<void, TestError>& result, TestMetadata const& met
// has one.
// The third test is the same as the second, upper module is fine but
// import a module with SyntaxError, however here the phase is runtime.
// In conclusion all the test which would cause the inital module to not
// In conclusion all the test which would cause the initial module to not
// be evaluated !should! have '$DONOTEVALUATE();' at the top causing a
// Reference error, meaning we just ignore the phase in the SyntaxError case.
return error.type == metadata.type;
@ -587,7 +587,7 @@ int main(int argc, char** argv)
}
if (timeout <= 0) {
warnln("timeout must be atleast 1");
warnln("timeout must be at least 1");
return 2;
}