Parcourir la source

Update test timezone to one we know exists

It wasn't the Arc unwrap causing the crash on Linux. Maybe it's this.
Ben S il y a 10 ans
Parent
commit
b3d252522a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/output/details.rs

+ 1 - 1
src/output/details.rs

@@ -739,7 +739,7 @@ pub mod test {
                 current_year: 1234,
                 numeric:      locale::Numeric::english(),
                 time:         locale::Time::english(),
-                tz:           TimeZone::system().unwrap(),
+                tz:           TimeZone::get("Europe/London").unwrap(),
                 users:        Mutex::new(MockUsers::with_current_uid(0)),
             }
         }