mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-01 06:52:15 +00:00
Require clock feature for test_decodable_json
import
This commit is contained in:
parent
f3e556bd56
commit
697f5d7d81
@ -1130,7 +1130,9 @@ pub mod ts_seconds_option {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::datetime::{test_decodable_json, test_encodable_json};
|
||||
#[cfg(feature = "clock")]
|
||||
use crate::datetime::test_decodable_json;
|
||||
use crate::datetime::test_encodable_json;
|
||||
use crate::{DateTime, TimeZone, Utc};
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user