Everywhere: Fix even more typos

This commit is contained in:
Viktor Szépe 2025-08-26 11:00:23 +00:00 committed by Jelle Raaijmakers
parent 77f6edaf71
commit 1c01e183b7
Notes: github-actions[bot] 2025-08-27 06:49:03 +00:00
31 changed files with 43 additions and 43 deletions

View file

@ -13,15 +13,15 @@ enum class VideoIntro : u8 {
Well = 0x1,
Hello = 0x2,
Friends = 0x4,
ExclimationMark = 0x8,
CompleteIntro = Well | Hello | Friends | ExclimationMark,
ExclamationMark = 0x8,
CompleteIntro = Well | Hello | Friends | ExclamationMark,
};
AK_ENUM_BITWISE_OPERATORS(VideoIntro);
TEST_CASE(bitwise_or)
{
auto intro = VideoIntro::Well | VideoIntro::Hello | VideoIntro::Friends | VideoIntro::ExclimationMark;
auto intro = VideoIntro::Well | VideoIntro::Hello | VideoIntro::Friends | VideoIntro::ExclamationMark;
EXPECT_EQ(intro, VideoIntro::CompleteIntro);
}
@ -34,7 +34,7 @@ TEST_CASE(bitwise_and)
TEST_CASE(bitwise_xor)
{
auto intro = VideoIntro::Well | VideoIntro::Hello | VideoIntro::Friends;
EXPECT_EQ(intro ^ VideoIntro::CompleteIntro, VideoIntro::ExclimationMark);
EXPECT_EQ(intro ^ VideoIntro::CompleteIntro, VideoIntro::ExclamationMark);
}
TEST_CASE(bitwise_not)
@ -46,7 +46,7 @@ TEST_CASE(bitwise_not)
TEST_CASE(bitwise_or_equal)
{
auto intro = VideoIntro::Well | VideoIntro::Hello | VideoIntro::Friends;
EXPECT_EQ(intro |= VideoIntro::ExclimationMark, VideoIntro::CompleteIntro);
EXPECT_EQ(intro |= VideoIntro::ExclamationMark, VideoIntro::CompleteIntro);
}
TEST_CASE(bitwise_and_equal)
@ -58,7 +58,7 @@ TEST_CASE(bitwise_and_equal)
TEST_CASE(bitwise_xor_equal)
{
auto intro = VideoIntro::Well | VideoIntro::Hello | VideoIntro::Friends;
EXPECT_EQ(intro ^= VideoIntro::CompleteIntro, VideoIntro::ExclimationMark);
EXPECT_EQ(intro ^= VideoIntro::CompleteIntro, VideoIntro::ExclamationMark);
}
TEST_CASE(has_flag)

View file

@ -9,7 +9,7 @@
#include <AK/Endian.h>
#include <AK/IPv4Address.h>
TEST_CASE(should_default_contructor_with_0s)
TEST_CASE(should_default_constructor_with_0s)
{
constexpr IPv4Address addr {};

View file

@ -9,7 +9,7 @@
#include <AK/Endian.h>
#include <AK/IPv6Address.h>
TEST_CASE(should_default_contructor_with_0s)
TEST_CASE(should_default_constructor_with_0s)
{
constexpr IPv6Address addr {};

View file

@ -35,7 +35,7 @@ TEST_CASE(sorts_ascending)
}
}
TEST_CASE(sorts_decending)
TEST_CASE(sorts_descending)
{
srand(seed);