Refactor building default globs

This commit is contained in:
Stuart Frost 2023-08-05 16:15:50 +01:00
parent 7690074cab
commit eb60b25c4e
2 changed files with 4 additions and 8 deletions

View file

@ -20,7 +20,7 @@ module Ameba
File.touch "lib/shard.cr"
yml = YAML.parse "{}"
config = Config.new(yml)
config.globs.should eq Config::DEFAULT_GLOBS
config.globs.should eq ["**/*.cr", "!lib"]
File.delete "lib/shard.cr"
end
end