From 6c33ccaa253a37741f8c425a3fdee3769952a095 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 5 Sep 2024 19:11:07 -0400 Subject: [PATCH] tests: Always have a truthy final expression in modules This ensures that `eval { require Module; } or ...` doesn't execute the `or` case when loading is successful. --- t/lib/ddclient/t.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/ddclient/t.pm b/t/lib/ddclient/t.pm index c546b9c..4f8813e 100644 --- a/t/lib/ddclient/t.pm +++ b/t/lib/ddclient/t.pm @@ -560,3 +560,5 @@ EOF want_ipv6_if => "en0", }, ); + +1;