google/rust_icu

Fix the test test_get_tz_data_version in rust_icu_ucal

filmil opened this issue · 1 comments

I get the following:

---- tests::test_get_tz_data_version stdout ----
thread 'tests::test_get_tz_data_version' panicked at 'version was: "2021a1"', rust_icu_ucal/src/lib.rs:394:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The regex used for tz data version matching trips up at the extra 1 at the end of 2021a1.