Skip to content

Commit 2a0c495

Browse files
authored
Bump version to v3.5.2 (#457)
* Update NUnit v4.2.2 to v4.3.0 Fix unit test that was using `Is.EqualTo` instead of `Is.EquivalentTo` for an `IEnumerable` object * Bump version to v3.5.2
1 parent 22ddd82 commit 2a0c495

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/SonarCloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
# (PRs from forks can't access secrets other than secrets.GITHUB_TOKEN for security reasons)
1818
if: ${{ !github.event.pull_request.head.repo.fork }}
1919
env:
20-
version: '3.5.1'
21-
versionFile: '3.5.1'
20+
version: '3.5.2'
21+
versionFile: '3.5.2'
2222
steps:
2323
- name: Set up JDK 17
2424
uses: actions/setup-java@v4

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for:
2727
- ps: dotnet restore SmartFormat.sln --verbosity quiet
2828
- ps: dotnet add .\SmartFormat.Tests\SmartFormat.Tests.csproj package AltCover
2929
- ps: |
30-
$version = "3.5.1"
30+
$version = "3.5.2"
3131
$versionFile = $version + "." + ${env:APPVEYOR_BUILD_NUMBER}
3232
3333
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<Copyright>Copyright 2011-$(CurrentYear) SmartFormat Project</Copyright>
99
<RepositoryUrl>https://github.com/axuno/SmartFormat.git</RepositoryUrl>
1010
<PublishRepositoryUrl>true</PublishRepositoryUrl>
11-
<Version>3.5.1</Version>
12-
<FileVersion>3.5.1</FileVersion>
11+
<Version>3.5.2</Version>
12+
<FileVersion>3.5.2</FileVersion>
1313
<AssemblyVersion>3.0.0</AssemblyVersion> <!--only update AssemblyVersion with major releases -->
1414
<LangVersion>latest</LangVersion>
1515
<EnableNETAnalyzers>true</EnableNETAnalyzers>

src/SmartFormat.Tests/Extensions/IsMatchFormatterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public void Escaped_Option_And_RegEx_Chars(string search, string regExEscaped, s
140140

141141
Assert.Multiple(() =>
142142
{
143-
Assert.That(EscapedLiteral.EscapeCharLiterals('\\', regExEscaped, 0, regExEscaped.Length, true), Is.EqualTo(optionsEscaped));
143+
Assert.That(EscapedLiteral.EscapeCharLiterals('\\', regExEscaped, 0, regExEscaped.Length, true), Is.EquivalentTo(optionsEscaped));
144144
Assert.That(regEx.Match(search).Success, Is.True);
145145
});
146146

@@ -175,4 +175,4 @@ public void Match_Special_Characters(string pattern, string input, bool shouldMa
175175
Assert.That(result, shouldMatch ? Is.EqualTo("found " + input) : Is.EqualTo(string.Empty), "IsMatchFormatter pattern match");
176176
});
177177
}
178-
}
178+
}

src/SmartFormat.Tests/SmartFormat.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
1818
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
19-
<PackageReference Include="NUnit" Version="4.2.2" />
19+
<PackageReference Include="NUnit" Version="4.3.0" />
2020
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

0 commit comments

Comments
 (0)