Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 26, 2023
1 parent e3245c7 commit 976568a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Verify/Compare/CompareResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public readonly struct CompareResult
public bool IsEqual { get; }
public string? Message { get; }

CompareResult(in bool isEqual, in string? message = null)
CompareResult(in bool isEqual, string? message = null)
{
IsEqual = isEqual;
Message = message;
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verifier/EqualityResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public StringBuilder? ReceivedText { get; }
public StringBuilder? VerifiedText { get; }

public EqualityResult(in Equality equality, in string? message, in StringBuilder? receivedText, in StringBuilder? verifiedText)
public EqualityResult(Equality equality, string? message, StringBuilder? receivedText, StringBuilder? verifiedText)
{
Equality = equality;
Message = message;
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verifier/NewResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public FilePair File { get; }
public StringBuilder? ReceivedText { get; }

public NewResult(in FilePair file, in StringBuilder? receivedText)
public NewResult(FilePair file, StringBuilder? receivedText)
{
File = file;
ReceivedText = receivedText;
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verifier/NotEqualResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public StringBuilder? ReceivedText { get; }
public StringBuilder? VerifiedText { get; }

public NotEqualResult(in FilePair file, in string? message, in StringBuilder? receivedText, in StringBuilder? verifiedText)
public NotEqualResult(FilePair file, string? message, StringBuilder? receivedText, StringBuilder? verifiedText)
{
File = file;
Message = message;
Expand Down
2 changes: 1 addition & 1 deletion src/Verify/Verifier/VerifyEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async Task Inner(FilePair file, Target target)
}
}

void HandleCompareResult(EqualityResult result, in FilePair file)
void HandleCompareResult(EqualityResult result, FilePair file)
{
switch (result.Equality)
{
Expand Down

0 comments on commit 976568a

Please sign in to comment.