[skip ci] Reduce warnings during tests (#2318)

This commit is contained in:
Alex Tan 2023-10-18 01:43:21 +11:00 committed by GitHub
parent 48d86cde39
commit cd3a15fa3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 29 additions and 28 deletions

View file

@ -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]