diff --git a/tests/42tags.pl b/tests/42tags.pl index 5b2300738..90be751a3 100644 --- a/tests/42tags.pl +++ b/tests/42tags.pl @@ -176,6 +176,8 @@ sub matrix_list_tags return unless $event->{type} eq "m.tag" and $event->{room_id} eq $room_id; + log_if_fail "Tag event", $event; + my %tags = %{ $event->{content}{tags} }; keys %tags == 1 or die "Expected exactly one tag"; defined $tags{test_tag} or die "Unexpected tag";