chronotope / chrono

Date and time library for Rust
Other
3.3k stars 523 forks source link

Inline `test_encodable_json` and `test_decodable_json` functions #1550

Closed pitdicker closed 6 months ago

pitdicker commented 6 months ago

The test_encodable_json and test_decodable_json functions in the modules of NaiveDate, NaiveTime, NaiveDateTime and DateTime used to help testing the serde and rustc-serialize implementations.

Now that we only have serde we can inline them in into the tests.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.79%. Comparing base (6c4e735) to head (767ede6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1550 +/- ## ========================================== - Coverage 91.79% 91.79% -0.01% ========================================== Files 37 37 Lines 18185 18175 -10 ========================================== - Hits 16693 16683 -10 Misses 1492 1492 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.