You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref keyword is mandatory, in order to get the output back.
string is an immutable class
STR:
stringactual=string.Empty;varverified=await_pgp.VerifyCleanAsync(signed,actual);verified.Should().BeTrue();// passactual.Should().NotBeEmpty();// failactual.Should().BeEquivalentTo(expected);// fail: Expected actual to be equivalent to "this is a secret text" with a length of 21, but "" has a length of 0, differs near "" (index 0).
The text was updated successfully, but these errors were encountered:
I've updated the string based VerifyClearAsync method so that it no longer appears to return the message value. I'm not sure if this is the best solution but I don't really want to return a result object containing a bollean a dn string either. I'm open to suggestions if you've got a better way of doing this.
Method below
should be declared as as
ref keyword is mandatory, in order to get the output back.
string is an immutable class
STR:
The text was updated successfully, but these errors were encountered: