Skip to content

Commit

Permalink
Revert "Update test"
Browse files Browse the repository at this point in the history
This reverts commit d474eb2.
  • Loading branch information
jonmmease committed Feb 20, 2024
1 parent d474eb2 commit 4783a44
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vegafusion-common/src/data/json_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,8 @@ mod tests {

assert_eq!(
String::from_utf8(buf).unwrap(),
r#"{"micros":1542129070011,"millis":1542129070011,"name":"a","nanos":1542129070011,"secs":1542129070000}
{"micros":null,"millis":null,"name":"b","nanos":null,"secs":null}
r#"{"nanos":1542129070011,"micros":1542129070011,"millis":1542129070011,"secs":1542129070000,"name":"a"}
{"nanos":null,"micros":null,"millis":null,"secs":null,"name":"b"}
"#
);
}
Expand Down Expand Up @@ -888,8 +888,8 @@ mod tests {

assert_eq!(
String::from_utf8(buf).unwrap(),
r#"{"name":"a","time32msec":"00:00:00.120","time32sec":"00:02:00","time64nsec":"00:00:00.000000120","time64usec":"00:00:00.000120"}
{"name":"b","time32msec":null,"time32sec":null,"time64nsec":null,"time64usec":null}
r#"{"time32sec":"00:02:00","time32msec":"00:00:00.120","time64usec":"00:00:00.000120","time64nsec":"00:00:00.000000120","name":"a"}
{"time32sec":null,"time32msec":null,"time64usec":null,"time64nsec":null,"name":"b"}
"#
);
}
Expand Down Expand Up @@ -931,8 +931,8 @@ mod tests {

assert_eq!(
String::from_utf8(buf).unwrap(),
r#"{"duration_msec":"PT0.12S","duration_nsec":"PT0.00000012S","duration_sec":"PT120S","duration_usec":"PT0.00012S","name":"a"}
{"duration_msec":null,"duration_nsec":null,"duration_sec":null,"duration_usec":null,"name":"b"}
r#"{"duration_sec":"PT120S","duration_msec":"PT0.120S","duration_usec":"PT0.000120S","duration_nsec":"PT0.000000120S","name":"a"}
{"duration_sec":null,"duration_msec":null,"duration_usec":null,"duration_nsec":null,"name":"b"}
"#
);
}
Expand Down

0 comments on commit 4783a44

Please sign in to comment.