Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft committed May 9, 2024
1 parent e3e17f0 commit 8c484df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,7 @@ ReplaceWhileCopying\(L.*\)

# devil fruits
\s([A-Z]{3,}|[A-Z][a-z]{2,}|[a-z]{3,})\s\g{-1}\sno Mi

# base64 encoded strings in tests
^VGVzdExpY2Vuc2U=$
^cuQJn3eLXBwG06quV6kYGkjD6oNZn6ditXjpMUpt/P8=$
22 changes: 11 additions & 11 deletions src/AppInstallerCLITests/MSStoreDownloadFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ std::vector<SFS::AppContent> GetSfsAppContentsOverrideFunction(std::string_view
return result;
}

TEST_CASE("MSStoreDowndloadFlow_Success", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -273,7 +273,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success", "[MSStoreDownloadFlow][workflow]")
REQUIRE_FALSE(std::filesystem::exists(tempDirectory.GetPath() / L"TestCategoryIdEnglish.Data_1.0.0.0_arm__8wekyb3d8bbwe.cab"));
}

TEST_CASE("MSStoreDowndloadFlow_Success_SkipDependencies", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success_SkipDependencies", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -314,7 +314,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success_SkipDependencies", "[MSStoreDownloadFlow
REQUIRE(licenseFileStr == "TestLicense");
}

TEST_CASE("MSStoreDowndloadFlow_Success_SkipLicense", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success_SkipLicense", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -349,7 +349,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success_SkipLicense", "[MSStoreDownloadFlow][wor
REQUIRE_FALSE(std::filesystem::exists(tempDirectory.GetPath() / L"9WZDNCRFJ364_License.xml"));
}

TEST_CASE("MSStoreDowndloadFlow_Success_SpecificLocale", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success_SpecificLocale", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -389,7 +389,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success_SpecificLocale", "[MSStoreDownloadFlow][
REQUIRE(licenseFileStr == "TestLicense");
}

TEST_CASE("MSStoreDowndloadFlow_Success_SpecificArchitecture", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success_SpecificArchitecture", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -430,7 +430,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success_SpecificArchitecture", "[MSStoreDownload
REQUIRE(licenseFileStr == "TestLicense");
}

TEST_CASE("MSStoreDowndloadFlow_Success_SpecificPlatform", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Success_SpecificPlatform", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down Expand Up @@ -471,7 +471,7 @@ TEST_CASE("MSStoreDowndloadFlow_Success_SpecificPlatform", "[MSStoreDownloadFlow
REQUIRE(licenseFileStr == "TestLicense");
}

TEST_CASE("MSStoreDowndloadFlow_Fail_TargetSkuNotFound", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Fail_TargetSkuNotFound", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand All @@ -490,7 +490,7 @@ TEST_CASE("MSStoreDowndloadFlow_Fail_TargetSkuNotFound", "[MSStoreDownloadFlow][
INFO(downloadOutput.str());
}

TEST_CASE("MSStoreDowndloadFlow_Fail_LocaleNotApplicable", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Fail_LocaleNotApplicable", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand All @@ -509,7 +509,7 @@ TEST_CASE("MSStoreDowndloadFlow_Fail_LocaleNotApplicable", "[MSStoreDownloadFlow
INFO(downloadOutput.str());
}

TEST_CASE("MSStoreDowndloadFlow_Fail_ArchitectureNotApplicable", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Fail_ArchitectureNotApplicable", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand All @@ -529,7 +529,7 @@ TEST_CASE("MSStoreDowndloadFlow_Fail_ArchitectureNotApplicable", "[MSStoreDownlo
INFO(downloadOutput.str());
}

TEST_CASE("MSStoreDowndloadFlow_Fail_PlatformNotApplicable", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Fail_PlatformNotApplicable", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand All @@ -550,7 +550,7 @@ TEST_CASE("MSStoreDowndloadFlow_Fail_PlatformNotApplicable", "[MSStoreDownloadFl
INFO(downloadOutput.str());
}

TEST_CASE("MSStoreDowndloadFlow_Fail_Licensing", "[MSStoreDownloadFlow][workflow]")
TEST_CASE("MSStoreDownloadFlow_Fail_Licensing", "[MSStoreDownloadFlow][workflow]")
{
auto enableFeature = TestUserSettings::EnableExperimentalFeature(AppInstaller::Settings::ExperimentalFeature::Feature::StoreDownload);

Expand Down

1 comment on commit 8c484df

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log for details.

Unrecognized words (9)

LXBw
MUpt
NZn
QJn
Vuc
Vzd
Xbox
Xjp
YGkj

Previously acknowledged words that are now absent ata bitspace EPester epth hrow issuetitle mapview Mta oop PFM rzkzqaqjwj sfs STARTUPINFOW testdata visualstudiocode :arrow_right:
To accept ✔️ these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands

... in a clone of the git@github.com:yao-msft/winget-cli.git repository
on the msstoredownload branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.21/apply.pl' |
perl - 'https://github.com/yao-msft/winget-cli/actions/runs/9010908112/attempts/1'
Available 📚 dictionaries could cover words not in the 📘 dictionary

This includes both expected items (547) from .github/actions/spelling/expect.txt and unrecognized words (9)

Dictionary Entries Covers
cspell:win32/src/win32.txt 53509 20
cspell:python/src/python/python-lib.txt 3873 3
cspell:python/src/python/python.txt 453 2
cspell:python/src/common/extra.txt 741 2
cspell:php/php.txt 2597 2
cspell:npm/npm.txt 288 2
cspell:django/django.txt 859 2
cspell:csharp/csharp.txt 19 2
cspell:sql/src/tsql.txt 455 1
cspell:scala/scala.txt 833 1

Consider adding them using (in .github/workflows/spelling3.yml):

      with:
        extra_dictionaries:
          cspell:win32/src/win32.txt
          cspell:python/src/python/python-lib.txt
          cspell:python/src/python/python.txt
          cspell:python/src/common/extra.txt
          cspell:php/php.txt
          cspell:npm/npm.txt
          cspell:django/django.txt
          cspell:csharp/csharp.txt
          cspell:sql/src/tsql.txt
          cspell:scala/scala.txt

To stop checking additional dictionaries, add:

      with:
        check_extra_dictionaries: ''
Warnings (1)

See the 📜action log for details.

ℹ️ Warnings Count
ℹ️ unexpected-line-ending 3

See ℹ️ Event descriptions for more information.

If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

Please sign in to comment.