Skip to content

Commit bbec429

Browse files
committed
test_text: hot fix
1 parent 315d971 commit bbec429

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def it_can_add_a_break(self, add_break_fixture):
148148

149149
def it_can_underline_text(self, add_underline_fixture):
150150
run, underline_type, expected_xml = add_underline_fixture
151-
run.underline(underline_type)
151+
run.underline = underline_type
152152
assert run._r.xml == expected_xml
153153

154154
def it_knows_the_text_it_contains(self, text_prop_fixture):

0 commit comments

Comments
 (0)