Skip to content

Commit

Permalink
Updating more unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Whit Waldo <[email protected]>
  • Loading branch information
WhitWaldo committed Jan 19, 2025
1 parent dbf242a commit 80ea91f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void MethodDescription_CreateThrowsArgumentException_WhenMethodHasMultipl

// Assert
var exception = Should.Throw<ArgumentException>(action);
exception.Message.ShouldBe("Method 'MethodWithMultipleTokens' of actor interface '*+ITestActor' has a '*.CancellationToken' parameter that is not the last parameter. If an actor method accepts a '*.CancellationToken' parameter, it must be the last parameter.*");
exception.Message.ShouldMatch(@"Method 'MethodWithMultipleTokens' of actor interface '.*\+ITestActor' has a '.*\.CancellationToken' parameter that is not the last parameter. If an actor method accepts a '.*\.CancellationToken' parameter, it must be the last parameter.*");
exception.ParamName.ShouldBe("actorInterfaceType");
}

Expand Down

0 comments on commit 80ea91f

Please sign in to comment.