From a6e386642704e485fbfcb67b64c04e34755ece5c Mon Sep 17 00:00:00 2001 From: Kharec Date: Mon, 22 Dec 2025 17:43:48 +0100 Subject: [PATCH] test: add use_ok() --- t/01_api.t | 2 ++ t/05_utils.t | 2 ++ 2 files changed, 4 insertions(+) diff --git a/t/01_api.t b/t/01_api.t index c6f8228..d256e9c 100644 --- a/t/01_api.t +++ b/t/01_api.t @@ -3,6 +3,8 @@ use Test::Mojo; use Mojo::Promise; use Urupam::App; +use_ok('Urupam::API'); + package Mock::Validator; use Mojo::Base -base; diff --git a/t/05_utils.t b/t/05_utils.t index 39c66bd..a48cb41 100644 --- a/t/05_utils.t +++ b/t/05_utils.t @@ -1,6 +1,8 @@ use Test::More; use Urupam::Utils (); +use_ok('Urupam::Utils'); + subtest 'sanitize_input' => sub { is( Urupam::Utils::sanitize_input(undef), '', 'undef becomes empty' ); is( Urupam::Utils::sanitize_input(" spaced out\t\n"),