From 3a5c4c275d3f51352ebfe6eaf018cf82579a3ab2 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 20 Jul 2025 10:53:04 +0200 Subject: Tests: perltidy --- t/24-past-visibility.t | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 't/24-past-visibility.t') diff --git a/t/24-past-visibility.t b/t/24-past-visibility.t index 06ec13e..5c084b2 100644 --- a/t/24-past-visibility.t +++ b/t/24-past-visibility.t @@ -117,11 +117,13 @@ sub test_history_visibility { = "history vis=$opt{set_past_visibility} journey=$jid vis=$journey->{effective_visibility_str}"; if ( $opt{public} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "public $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "public $desc" ); } @@ -131,11 +133,13 @@ sub test_history_visibility { ); if ( $opt{self} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "self $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "self $desc" ); } @@ -146,11 +150,13 @@ sub test_history_visibility { ); if ( $opt{followers} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "follower $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "follower $desc" ); } @@ -161,11 +167,13 @@ sub test_history_visibility { ); if ( $opt{travelynx} ) { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_like( qr{DPN\s*667}, "travelynx $desc" ); } else { - $t->get_ok('/p/test1')->status_is(200) + $t->get_ok('/p/test1') + ->status_is(200) ->content_unlike( qr{DPN\s*667}, "travelynx $desc" ); } -- cgit v1.2.3