summaryrefslogtreecommitdiff
path: root/tests/test_websupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_websupport.py')
-rw-r--r--tests/test_websupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_websupport.py b/tests/test_websupport.py
index 84d6f9e0f..c09334361 100644
--- a/tests/test_websupport.py
+++ b/tests/test_websupport.py
@@ -271,9 +271,9 @@ def test_moderation(support):
def test_differ():
- differ = CombinedHtmlDiff()
source = 'Lorem ipsum dolor sit amet,\nconsectetur adipisicing elit,\n' \
'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
prop = 'Lorem dolor sit amet,\nconsectetur nihil adipisicing elit,\n' \
'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
- differ.make_html(source, prop)
+ differ = CombinedHtmlDiff(source, prop)
+ differ.make_html()