From 1b94239d638f26c12a29fde9e4a26e46d692d782 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Sun, 17 Nov 2024 16:10:37 +0100 Subject: [PATCH 1/2] Fix typo --- ModelicaTest/Utilities.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ModelicaTest/Utilities.mo b/ModelicaTest/Utilities.mo index 88d104cdf9..21a8bf4ea2 100644 --- a/ModelicaTest/Utilities.mo +++ b/ModelicaTest/Utilities.mo @@ -217,7 +217,7 @@ extends Modelica.Icons.ExamplesPackage; // Strings.contains assert(Strings.contains("", ""), "Strings.contains 1 failed (empty strings)"); - assert(Strings.contains("foo bar", "o"), "Strings.contains 2 failed (multiple occurences)"); + assert(Strings.contains("foo bar", "o"), "Strings.contains 2 failed (multiple occurrences)"); assert(Strings.contains("foo bar", "o ba"), "Strings.contains 3 failed (occurrence at middle)"); assert(Strings.contains("foo bar", "fo"), "Strings.contains 4 failed (occurrence at start)"); assert(Strings.contains("foo bar", "ar"), "Strings.contains 5 failed (occurrence at end)"); From da6fac718d38c0de6e6132baaf2e56e97171e944 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Sun, 17 Nov 2024 16:12:17 +0100 Subject: [PATCH 2/2] Add another codespell exception --- .github/workflows/checkCron.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checkCron.yml b/.github/workflows/checkCron.yml index 8a3f021570..dfc23e5efb 100644 --- a/.github/workflows/checkCron.yml +++ b/.github/workflows/checkCron.yml @@ -76,8 +76,9 @@ jobs: codespell -L nife ./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron codespell -L technik ./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo codespell -L supportt ./ModelicaTest/Rotational.mo + codespell -L fo ./ModelicaTest/Utilities.mo codespell -L lamda,inport ./ModelicaTestConversion4.mo - codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/UsersGuide/Contact.mo,./Modelica/UsersGuide/ReleaseNotes.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/package.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Fluid/Vessels.mo,./Modelica/Fluid/Examples/AST_BatchPlant.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Analog/Ideal/AD_Converter.mo,./Modelica/Electrical/Analog/Examples/AD_DA_conversion.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating + codespell --skip ./ObsoleteModelica4.mo,./Modelica/package.mo,./Modelica/UsersGuide/Contact.mo,./Modelica/UsersGuide/ReleaseNotes.mo,./Modelica/Clocked/RealSignals/Periodic/StateSpace.mo,./Modelica/Constants.mo,./Modelica/Blocks/Continuous.mo,./Modelica/StateGraph.mo,./Modelica/Electrical/Digital.mo,./Modelica/Electrical/Polyphase/Examples/PolyphaseRectifier.mo,./Modelica/Electrical/Polyphase/Examples/Utilities/PolyphaseRectifierData.mo,./Modelica/Fluid/package.mo,./Modelica/Fluid/Dissipation.mo,./Modelica/Fluid/Vessels.mo,./Modelica/Fluid/Examples/AST_BatchPlant.mo,./Modelica/Resources,./Modelica/Media/IdealGases/package.mo,./Modelica/Media/IdealGases/Common/SingleGasesData.mo,./Modelica/Media/IdealGases/Common/Functions.mo,./Modelica/Media/IdealGases/Common/package.mo,./Modelica/Media/Air/ReferenceAir.mo,./Modelica/Media/R134a.mo,./Modelica/Media/Water/IF97_Utilities.mo,./Modelica/Electrical/Analog/Ideal/AD_Converter.mo,./Modelica/Electrical/Analog/Examples/AD_DA_conversion.mo,./Modelica/Electrical/Polyphase/UsersGuide/References.mo,./Modelica/Electrical/Spice3.mo,./Modelica/Electrical/Machines/BasicMachines/Components/PartialAirGapDC.mo,./Modelica/Electrical/Machines/Examples/ControlledDCDrives,./Modelica/Electrical/Analog/UsersGuide/References.mo,./Modelica/Math/package.mo,./Modelica/Mechanics/Rotational,./Modelica/Mechanics/Translational,./Modelica/Mechanics/MultiBody,./Modelica/Magnetic/FluxTubes/UsersGuide/Contact.mo,./Modelica/Magnetic/FluxTubes/Material/SoftMagnetic/NickelIron,./Modelica/Magnetic/FundamentalWave/UsersGuide/References.mo,./ModelicaTest/Rotational.mo,./ModelicaTest/Utilities.mo,./ModelicaTestConversion4.mo,./.CI,./.github,./.git,*.png -L nin,inport,te,sinc,vie,commutating clean_workflow_runs: timeout-minutes: 5 if: github.repository_owner == 'modelica'