diff --git a/.github/workflows/SonarCloud.yml b/.github/workflows/SonarCloud.yml index f339747c..5f345a06 100644 --- a/.github/workflows/SonarCloud.yml +++ b/.github/workflows/SonarCloud.yml @@ -17,8 +17,8 @@ jobs: # (PRs from forks can't access secrets other than secrets.GITHUB_TOKEN for security reasons) if: ${{ !github.event.pull_request.head.repo.fork }} env: - version: '3.5.1' - versionFile: '3.5.1' + version: '3.5.2' + versionFile: '3.5.2' steps: - name: Set up JDK 17 uses: actions/setup-java@v4 diff --git a/appveyor.yml b/appveyor.yml index 49a34bc0..f996200f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,7 +27,7 @@ for: - ps: dotnet restore SmartFormat.sln --verbosity quiet - ps: dotnet add .\SmartFormat.Tests\SmartFormat.Tests.csproj package AltCover - ps: | - $version = "3.5.1" + $version = "3.5.2" $versionFile = $version + "." + ${env:APPVEYOR_BUILD_NUMBER} if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 9ec82339..2d37c9f1 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -8,8 +8,8 @@ Copyright 2011-$(CurrentYear) SmartFormat Project https://github.com/axuno/SmartFormat.git true - 3.5.1 - 3.5.1 + 3.5.2 + 3.5.2 3.0.0 latest true diff --git a/src/SmartFormat.Tests/Extensions/IsMatchFormatterTests.cs b/src/SmartFormat.Tests/Extensions/IsMatchFormatterTests.cs index 29a18a0e..7f05046e 100644 --- a/src/SmartFormat.Tests/Extensions/IsMatchFormatterTests.cs +++ b/src/SmartFormat.Tests/Extensions/IsMatchFormatterTests.cs @@ -140,7 +140,7 @@ public void Escaped_Option_And_RegEx_Chars(string search, string regExEscaped, s Assert.Multiple(() => { - Assert.That(EscapedLiteral.EscapeCharLiterals('\\', regExEscaped, 0, regExEscaped.Length, true), Is.EqualTo(optionsEscaped)); + Assert.That(EscapedLiteral.EscapeCharLiterals('\\', regExEscaped, 0, regExEscaped.Length, true), Is.EquivalentTo(optionsEscaped)); Assert.That(regEx.Match(search).Success, Is.True); }); @@ -175,4 +175,4 @@ public void Match_Special_Characters(string pattern, string input, bool shouldMa Assert.That(result, shouldMatch ? Is.EqualTo("found " + input) : Is.EqualTo(string.Empty), "IsMatchFormatter pattern match"); }); } -} \ No newline at end of file +} diff --git a/src/SmartFormat.Tests/SmartFormat.Tests.csproj b/src/SmartFormat.Tests/SmartFormat.Tests.csproj index 0ba50844..572c3a36 100644 --- a/src/SmartFormat.Tests/SmartFormat.Tests.csproj +++ b/src/SmartFormat.Tests/SmartFormat.Tests.csproj @@ -16,7 +16,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive