mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
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};
|
use crate::{DateTime, TimeZone, Utc};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user