Skip to content

Commit

Permalink
Fix test, because ranks are no longer capped at 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed Feb 28, 2021
1 parent c0eb3f2 commit 46118f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NetTally.Tests/Votes/VoteLineParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,16 +426,16 @@ public void Marker_DefaultRank()
[TestMethod]
public void Marker_HighRank()
{
string line = "[#10] A normal vote line";
string line = "[#100] A normal vote line";
VoteLine? voteLine = VoteLineParser.ParseLine(line);

if (voteLine != null)
{
Assert.AreEqual("", voteLine.Prefix);
Assert.AreEqual(0, voteLine.Depth);
Assert.AreEqual("#10", voteLine.Marker);
Assert.AreEqual("#100", voteLine.Marker);
Assert.AreEqual(MarkerType.Rank, voteLine.MarkerType);
Assert.AreEqual(9, voteLine.MarkerValue);
Assert.AreEqual(99, voteLine.MarkerValue);
Assert.AreEqual("A normal vote line", voteLine.Content);
Assert.AreEqual("", voteLine.Task);
}
Expand Down

0 comments on commit 46118f9

Please sign in to comment.