Skip to content

Commit 0b8f931

Browse files
committed
Bump MSTest.Sdk from 3.11.0 to 4.0.0
1 parent 8db941a commit 0b8f931

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

UnitTests/Directory.Build.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ SPDX-License-Identifier: MIT
1717
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1818

1919
<NoWarn>$(NoWarn),IDE0053,IDE0058,IDE0200</NoWarn>
20-
21-
<!-- Bump MSTest.Sdk "transitive" dependencies (they are actually direct dependencies) -->
22-
<MicrosoftNETTestSdkVersion>18.0.0</MicrosoftNETTestSdkVersion>
2320
</PropertyGroup>
2421

2522
<ItemGroup>

UnitTests/UnitTests/MSTestSettings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
// SPDX-License-Identifier: MIT
44

55
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6-
[assembly: ClassCleanupExecution(ClassCleanupBehavior.EndOfClass)]

UnitTests/UnitTests/SignTests.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,16 @@ public unsafe void SignLarge_Destination_TooShort()
9494
// undersized
9595
var signature = new byte[1024];
9696

97-
Assert.ThrowsExactly<ArgumentException>(() =>
97+
void test()
9898
{
99+
// setup
99100
byte message = 42;
101+
102+
// test
100103
_ = Xmss.Sign(&message, 1, signature);
101-
});
104+
}
105+
106+
Assert.ThrowsExactly<ArgumentException>(test);
102107
}
103108

104109
[TestMethod]

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
},
77
"msbuild-sdks": {
88
"Microsoft.Build.NoTargets": "3.7.134",
9-
"MSTest.Sdk": "3.11.0"
9+
"MSTest.Sdk": "4.0.0"
1010
}
1111
}

0 commit comments

Comments
 (0)