aports/community/crystal/fix-spec-time-location.patch
2018-06-16 15:31:48 +02:00

15 lines
425 B
Diff

This test fail on builders; probably the timezone is set to UTC there.
--- a/spec/std/time/location_spec.cr
+++ b/spec/std/time/location_spec.cr
@@ -162,9 +162,6 @@
end
it ".load_local" do
- with_env("TZ", nil) do
- Location.load_local.name.should eq "Local"
- end
with_zoneinfo do
with_env("TZ", "Europe/Berlin") do
Location.load_local.name.should eq "Europe/Berlin"