mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 13:33:24 -05:00
chore: wrap long test lines
This commit is contained in:
1 parent
8ffe30efc8
commit
e39a6c5894
1 file changed
+9
-2
@@ -126,7 +126,10 @@ class TestSplitSourceRef(unittest.TestCase):
|
||||
|
||||
def test_parenthetical_annotation_is_dropped(self):
|
||||
parts = split_source_ref("mia/system/game-gear.cpp:8 (//optional)")
|
||||
self.assertEqual((parts[0].path, parts[0].start), ("mia/system/game-gear.cpp", 8))
|
||||
self.assertEqual(
|
||||
(parts[0].path, parts[0].start),
|
||||
("mia/system/game-gear.cpp", 8),
|
||||
)
|
||||
|
||||
def test_annotations_between_parts(self):
|
||||
parts = split_source_ref(
|
||||
@@ -1007,7 +1010,11 @@ class TestRebaseRefs(unittest.TestCase):
|
||||
applied = rebase_refs(
|
||||
self.path,
|
||||
self._report(
|
||||
[EntryReport("a.bin", "a.c:10-12 (loads the kernel)", "SHIFTED", [part])]
|
||||
[
|
||||
EntryReport(
|
||||
"a.bin", "a.c:10-12 (loads the kernel)", "SHIFTED", [part]
|
||||
)
|
||||
]
|
||||
),
|
||||
)
|
||||
self.assertEqual(applied, [])
|
||||
|
||||
Reference in new issue
Block a user