From 7d0312e47bfe8aa0c4ec7c7ce6ea427f60f43520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Sun, 25 Dec 2022 21:42:07 +0100 Subject: [PATCH] fix(tests): expect FakeError instead of GenericError --- Tests/NosSmooth.Core.Tests/Commands/CommandProcessorTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NosSmooth.Core.Tests/Commands/CommandProcessorTests.cs b/Tests/NosSmooth.Core.Tests/Commands/CommandProcessorTests.cs index 66e71f6..cbf62a0 100644 --- a/Tests/NosSmooth.Core.Tests/Commands/CommandProcessorTests.cs +++ b/Tests/NosSmooth.Core.Tests/Commands/CommandProcessorTests.cs @@ -275,7 +275,7 @@ public class CommandProcessorTests { Assert.Equal(fakeCommand, fc); Assert.False(res.IsSuccess); - Assert.IsType(res.Error); + Assert.IsType(res.Error); called = true; return Result.FromSuccess(); } -- 2.49.0