Skip to content

Commit

Permalink
fix spec on Linux/macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Sep 17, 2024
1 parent b8318e4 commit 87accc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/zipstream/config_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ describe Zipstream::Config do
config = Zipstream::Config.new

context "host" do
it "should has host" do
config.host.should eq("")
it "should has host as local IP address" do
config.host.should match(/\d+\.\d+\.\d+\.\d+/)
end
end
end

0 comments on commit 87accc5

Please sign in to comment.