[skip ci] Reduce warnings during tests (#2318)
This commit is contained in:
parent
48d86cde39
commit
cd3a15fa3b
11 changed files with 29 additions and 28 deletions
|
|
@ -29,7 +29,7 @@ public class TagHelperTests
|
|||
|
||||
});
|
||||
|
||||
Assert.Equal(1, tagAdded.Count);
|
||||
Assert.Single(tagAdded);
|
||||
Assert.Equal(4, allTags.Count);
|
||||
}
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ public class TagHelperTests
|
|||
tagRemoved.Add(tag);
|
||||
});
|
||||
|
||||
Assert.Equal(1, tagRemoved.Count);
|
||||
Assert.Single(tagRemoved);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue