Skip to content

Commit 7ede339

Browse files
Adds all missing unit tests for 100% coverage of the CommonUtilitiesCSharp project
1 parent 0c1d8db commit 7ede339

File tree

3 files changed

+256
-46
lines changed

3 files changed

+256
-46
lines changed

CommonUtilitiesCSharp.UnitTests/Core/CommandTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,9 @@ public void ConvertParameter_Throws_WhenParameterIsNull()
241241

242242
public class CommandTTests : CommandTestBase<string>
243243
{
244-
protected override Command CreateCommand(Action<string?> execute) => new Command<string>(execute);
244+
protected override Command<string> CreateCommand(Action<string?> execute) => new(execute);
245245

246-
protected override Command CreateCommand(Action<string?> execute, Predicate<string?> canExecute) => new Command<string>(execute, canExecute);
246+
protected override Command<string> CreateCommand(Action<string?> execute, Predicate<string?> canExecute) => new(execute, canExecute);
247247

248248
#region Execute
249249
[Test]

0 commit comments

Comments
 (0)