Skip to content

Commit 3841978

Browse files
committed
fix: test case
1 parent 475f4dc commit 3841978

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/tree/test_helper.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,14 @@ def test_tree_diff_same_prefix():
242242
)
243243
other_tree_node = node.Node("a", children=[node.Node("b")])
244244
tree_only_diff = helper.get_tree_diff(tree_node, other_tree_node)
245-
expected_str = "a\n" "├── b (+)\n" "└── bb (-)\n" " └── b (-)"
245+
# fmt: off
246+
expected_str = (
247+
"a\n"
248+
"├── b (+)\n"
249+
"└── bb (-)\n"
250+
" └── b (-)\n"
251+
)
252+
# fmt: on
246253
assert_print_statement(export.print_tree, expected_str, tree=tree_only_diff)
247254

248255
@staticmethod

0 commit comments

Comments
 (0)