diff options
Diffstat (limited to 'community/crystal/fix-spec-time-location.patch')
-rw-r--r-- | community/crystal/fix-spec-time-location.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/crystal/fix-spec-time-location.patch b/community/crystal/fix-spec-time-location.patch new file mode 100644 index 0000000000..3bb086f798 --- /dev/null +++ b/community/crystal/fix-spec-time-location.patch @@ -0,0 +1,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" |