Skip to content

Commit f3dec42

Browse files
MiYanniForgind
andauthored
Update test/dotnet.Tests/ParserTests/AddReferenceParserTests.cs
Co-authored-by: Forgind <[email protected]>
1 parent 69223a5 commit f3dec42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotnet.Tests/ParserTests/AddReferenceParserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void AddReferenceWithoutArgumentResultsInAnError()
5353

5454
result.Errors.Should().NotBeEmpty();
5555

56-
var argument = (result.Errors.FirstOrDefault()?.SymbolResult as ArgumentResult)?.Argument;
56+
var argument = (result.Errors.SingleOrDefault()?.SymbolResult as ArgumentResult)?.Argument;
5757

5858
argument.Should().Be(ReferenceAddCommandParser.ProjectPathArgument);
5959
}

0 commit comments

Comments
 (0)