summaryrefslogtreecommitdiff
path: root/yarns/900-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/900-implements.yarn')
-rw-r--r--yarns/900-implements.yarn7
1 files changed, 6 insertions, 1 deletions
diff --git a/yarns/900-implements.yarn b/yarns/900-implements.yarn
index 1a42198..59da6c7 100644
--- a/yarns/900-implements.yarn
+++ b/yarns/900-implements.yarn
@@ -108,7 +108,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
expected_text = get_next_match()
expected = json.loads(expected_text)
actual = json.loads(vars['body'])
- assertEqual(expected, actual)
+ print('expected', json.dumps(expected, indent=4))
+ print('actual', json.dumps(actual, indent=4))
+ diff = dict_diff(expected, actual)
+ if diff is not None:
+ print(diff)
+ assert 0
IMPLEMENTS THEN body text is "(.*)"
expected = unescape(get_next_match())