Test the unmarked cited item's message and the file a non-UTF-8 read names
This commit is contained in:
@@ -145,6 +145,8 @@ class Rank(unittest.TestCase):
|
||||
self.assertIsInstance(self.ranked(decisions=DECISIONS + "Until `todo.md` item 4 lands.\n"), ranking.Ranked)
|
||||
gone = self.ranked(TODO.replace("| 5 | 0.1.0 | | decision | **Move the writes out.** | 1 | 1 | 4 | 5 | 5 | 2.1 by 1 | 0 |\n", ""))
|
||||
self.assertEqual(gone.reason, "docs/decisions.md cites \"`todo.md` item 5\", which todo.md no longer holds; revise that decision to say what holds now")
|
||||
unmarked = self.ranked(TODO.replace("| 5 | 0.1.0 | | decision |", "| 5 | 0.1.0 | | |"))
|
||||
self.assertEqual(unmarked.reason, "docs/decisions.md cites \"`todo.md` item 5\"; mark it decision, or another reason the bar does not apply")
|
||||
|
||||
def test_names_each_item_under_the_bar_that_is_not_exempt(self):
|
||||
ranked = self.ranked(TODO.replace("`Bar = 2`", "`Bar = 3.5`"))
|
||||
|
||||
Reference in New Issue
Block a user