improve failure reporting
authorTony Cook <tony@develop-help.com>
Sat, 19 Sep 2015 08:39:28 +0000 (18:39 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 19 Sep 2015 08:39:28 +0000 (18:39 +1000)
t/080-remote/010-save.t

index b84d3ff9b14a36dc8b2f0dc540c302853504e87e..dadf9d3fcadc3f540f6d41e531a314ffa09d9e07 100644 (file)
@@ -128,7 +128,9 @@ SKIP:
       $data or skip("Not json from setting tags", 2);
       ok($data->{success}, "success flag set");
       is_deeply($data->{article}{tags}, [ $tag_name1, $tag_name2 ],
-               "check tags saved");
+               "check tags saved")
+       or diag "left: ", Dumper($data->{article}{tags}),
+           "\nright: ", Dumper([$tag_name1, $tag_name2 ]);
       $art = $data->{article};
     }
   }