]> granicus.if.org Git - graphviz/commitdiff
fix typo in test assertion message
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 Jan 2023 03:15:54 +0000 (19:15 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 22 Jan 2023 01:27:14 +0000 (17:27 -0800)
This looks to have been a mistake in 74238e979cecadf64e67c6f5bb822eae88278de0.

tests/test_regression.py

index fda73e5cf0e211021b91ebcd9c3ba95f750469de..51d66d83ccf0265bf205a6a0862464d19ed40d0a 100644 (file)
@@ -619,8 +619,10 @@ def test_1618(long: str, short: str):
                       stderr=subprocess.PIPE, check=True)
 
   # output from both should match
-  assert p1.stdout == p2.stdout, f"`dot {long}` wrote output than `dot {short}`"
-  assert p1.stderr == p2.stderr, f"`dot {long}` wrote output than `dot {short}`"
+  assert p1.stdout == p2.stdout, \
+    f"`dot {long}` wrote differing output than `dot {short}`"
+  assert p1.stderr == p2.stderr, \
+    f"`dot {long}` wrote differing output than `dot {short}`"
 
 @pytest.mark.xfail(strict=True)
 def test_1624():