From b79b1d3672ad0fdd6382824c87be550619126ded Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 8 Jun 2023 20:58:08 -0400 Subject: [PATCH] tests: Simplify --- tests/main.cr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/main.cr b/tests/main.cr index 5d454598..919d9adf 100644 --- a/tests/main.cr +++ b/tests/main.cr @@ -36,7 +36,5 @@ describe "./overlays/joshuto/default.nix" do end Spec.after_suite do - if !hint.empty? - puts "✗ #{hint}".colorize(:yellow) - end + hint.empty? || puts "✗ #{hint}".colorize(:yellow) end