mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-28 13:30:48 +00:00
Hardcode the timestamp to simplify tests
This commit is contained in:
parent
c77d814685
commit
12e8920810
@ -7,7 +7,6 @@ extern crate serde_macros;
|
||||
extern crate serde;
|
||||
extern crate serialize;
|
||||
extern crate test;
|
||||
extern crate time;
|
||||
|
||||
use std::io;
|
||||
use std::io::MemWriter;
|
||||
@ -454,7 +453,7 @@ struct Log {
|
||||
impl Log {
|
||||
fn new() -> Log {
|
||||
Log {
|
||||
timestamp: time::precise_time_ns() as i64,
|
||||
timestamp: 2837513946597,
|
||||
zone_id: 123456,
|
||||
zone_plan: FREE,
|
||||
http: Http {
|
||||
|
@ -4,7 +4,6 @@
|
||||
extern crate serde2;
|
||||
extern crate serialize;
|
||||
extern crate test;
|
||||
extern crate time;
|
||||
|
||||
#[phase(plugin)]
|
||||
extern crate serde2_macros;
|
||||
@ -466,7 +465,7 @@ struct Log {
|
||||
impl Log {
|
||||
fn new() -> Log {
|
||||
Log {
|
||||
timestamp: time::precise_time_ns() as i64,
|
||||
timestamp: 2837513946597,
|
||||
zone_id: 123456,
|
||||
zone_plan: FREE,
|
||||
http: Http {
|
||||
|
Loading…
x
Reference in New Issue
Block a user