From 51ec09717b8d93c7447038c063672c7e3d27f7f5 Mon Sep 17 00:00:00 2001 From: Margret Riegert Date: Sat, 25 Jan 2025 05:18:49 -0500 Subject: [PATCH] Add test for expanding folders --- spec/ameba/glob_utils_spec.cr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/ameba/glob_utils_spec.cr b/spec/ameba/glob_utils_spec.cr index c52c324f1..2cc5f51ae 100644 --- a/spec/ameba/glob_utils_spec.cr +++ b/spec/ameba/glob_utils_spec.cr @@ -53,6 +53,10 @@ module Ameba fail "#{path.inspect} should be a file" unless File.file?(path) end end + + it "expands folders" do + subject.expand(["spec"]).should_not be_empty + end end end end