Skip to content

Spelling unittests #58560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unittests/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
)

# The local stdlib implementation provides definitions of the swiftCore
# interfaes to avoid pulling in swiftCore itself. Build the SwiftRuntimeTests
# interfaces to avoid pulling in swiftCore itself. Build the SwiftRuntimeTests
# with swiftCore_EXPORTS to permit exporting the stdlib interfaces.
target_compile_definitions(SwiftRuntimeTests
PRIVATE
Expand Down
8 changes: 4 additions & 4 deletions unittests/runtime/ExtendedExistential.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//===--- ExtendedExiential.cpp - Extended existential metadata unit tests -===//
//===--- ExtendedExistential.cpp - Extended existential metadata unit tests -===//
//
// This source file is part of the Swift.org open source project
//
Expand Down Expand Up @@ -398,7 +398,7 @@ TEST(TestExtendedExistential, overrideValueWitnesses) {
EXPECT_EQ(vwtable0, &table);
}

TEST(TestExtendedExistential, defaultOpaqueValueWitnessses) {
TEST(TestExtendedExistential, defaultOpaqueValueWitnesses) {
auto shape0 = buildGlobalShape([]{
return shape(
shapeType(protocolType(P())),
Expand Down Expand Up @@ -441,7 +441,7 @@ TEST(TestExtendedExistential, defaultOpaqueValueWitnessses) {
EXPECT_FALSE(vwtable2->isPOD());
}

TEST(TestExtendedExistential, defaultClassValueWitnessses) {
TEST(TestExtendedExistential, defaultClassValueWitnesses) {
auto shape0 = buildGlobalShape([]{
return shape(
special(SpecialKind::Class),
Expand Down Expand Up @@ -487,7 +487,7 @@ TEST(TestExtendedExistential, defaultClassValueWitnessses) {
EXPECT_FALSE(vwtable2->isPOD());
}

TEST(TestExtendedExistential, defaultMetatypeValueWitnessses) {
TEST(TestExtendedExistential, defaultMetatypeValueWitnesses) {
auto shape0 = buildGlobalShape([]{
return shape(
special(SpecialKind::Metatype),
Expand Down
2 changes: 1 addition & 1 deletion unittests/runtime/LongTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
)

# The local stdlib implementation provides definitions of the swiftCore
# interfaes to avoid pulling in swiftCore itself. Build the
# interfaces to avoid pulling in swiftCore itself. Build the
# SwiftRuntimeLongTests with swiftCore_EXPORTS to permit exporting the stdlib
# interfaces.
target_compile_definitions(SwiftRuntimeLongTests
Expand Down
2 changes: 1 addition & 1 deletion unittests/runtime/Stdlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const long long $sSGMp[1] = {0};
SWIFT_RUNTIME_STDLIB_INTERNAL
const long long $sSiMn[1] = {0};

// DefaultIndicis
// DefaultIndices

SWIFT_RUNTIME_STDLIB_INTERNAL
const long long $sSIMn[1] = {0};
Expand Down