diff --git a/.codespellexclude b/.codespellexclude index ea11c6123..2de0f331f 100644 --- a/.codespellexclude +++ b/.codespellexclude @@ -5,3 +5,11 @@ auto ue = std::any_cast(expectedItems[id][index].second); * Fixed typos: occurence -> occurRence by `@agarny `_ [`#794 `_]. + std::vector mErrors; + mErrors.push_back(index); + mErrors.erase(mErrors.begin() + ptrdiff_t(index)); + mIssues.erase(mIssues.begin() + ptrdiff_t(mErrors.at(index))); + mErrors.clear(); + if (index < pFunc()->mErrors.size()) { + issue = pFunc()->mIssues.at(pFunc()->mErrors.at(index)); + return pFunc()->mErrors.size(); diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 802bb5eea..e3030b41d 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -19,4 +19,3 @@ jobs: check_filenames: true skip: ./.git,./tests/gtest/include/gtest/gtest.h,./tests/gtest/src/gtest-all.cc,./src/dtds/mathml2/* exclude_file: .codespellexclude - ignore_words_list: mErrors