mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-27 20:27:57 +00:00
Hardcode the timestamp to simplify tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user