Skip to content

Commit 9079a3b

Browse files
stakachclaude
andcommitted
style: use short block notation in the module router spec
Ameba runs in CI but not in ./test, so this slipped through when the router specs landed on master. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 7e6b14b commit 9079a3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/router/module_router_spec.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module PlaceOS::Source
5454
Router::Module.new(mappings).handle_delete(mod)
5555

5656
mappings.read(&.drivers).should eq({"mod-stays" => "driver-sns"})
57-
mappings.read { |current| current.system_modules.has_key?("mod-gone") }.should be_false
57+
mappings.read(&.system_modules.has_key?("mod-gone")).should be_false
5858
end
5959
end
6060

0 commit comments

Comments
 (0)