Skip to content

Commit 867b4d7

Browse files
committed
fixed ExpectError
1 parent 0b81f83 commit 867b4d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tck/Reactive.Streams.TCK/IdentityProcessorVerification.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ public ManualSubscriberWithErrorCollection(TestEnvironment environment) : base(e
650650
public void ExpectError(Exception cause, long timeoutMilliseconds)
651651
{
652652
_error.ExpectCompletion(timeoutMilliseconds, "Did not receive expected error on downstream");
653-
if (cause.Equals(_error.Value))
654-
Environment.Flop($"Expected error {cause} but got {_error}");
653+
if (!cause.Equals(_error.Value))
654+
Environment.Flop($"Expected error {cause} but got {_error.Value}");
655655
}
656656
}
657657
}

0 commit comments

Comments
 (0)