aboutsummaryrefslogtreecommitdiffstats
path: root/community/crystal/fix-spec-time-location.patch
blob: 3bb086f798681e2bef80972ccabd4a999f6cfb7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"