From 92c750200efe84482b5e16032d06476416319a16 Mon Sep 17 00:00:00 2001 From: Jon Mease Date: Tue, 13 Aug 2024 07:47:40 -0400 Subject: [PATCH] fix test --- .../tests/test_pre_transform_values.rs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/vegafusion-runtime/tests/test_pre_transform_values.rs b/vegafusion-runtime/tests/test_pre_transform_values.rs index 7595b60a..721691f0 100644 --- a/vegafusion-runtime/tests/test_pre_transform_values.rs +++ b/vegafusion-runtime/tests/test_pre_transform_values.rs @@ -342,8 +342,8 @@ mod tests { +---------------------+---------------------+---------+---------+---------------+-------------+ | yearmonth_date | yearmonth_date_end | weather | __count | __count_start | __count_end | +---------------------+---------------------+---------+---------+---------------+-------------+ -| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | rain | 15 | 12 | 27 | -| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | sun | 16 | 0 | 16 | +| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | rain | 15 | 12.0 | 27 | +| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | sun | 16 | 0.0 | 16 | +---------------------+---------------------+---------+---------+---------------+-------------+"; assert_eq!(click_selected.pretty_format(None).unwrap(), expected); @@ -355,16 +355,16 @@ mod tests { +---------------------+---------------------+---------+---------+---------------+-------------+ | yearmonth_date | yearmonth_date_end | weather | __count | __count_start | __count_end | +---------------------+---------------------+---------+---------+---------------+-------------+ -| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | sun | 12 | 0 | 12 | -| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | rain | 15 | 12 | 27 | -| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | fog | 2 | 27 | 29 | -| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | drizzle | 1 | 29 | 30 | -| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | sun | 17 | 0 | 17 | -| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | snow | 1 | 17 | 18 | -| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | rain | 13 | 18 | 31 | -| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | sun | 16 | 0 | 16 | -| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | rain | 13 | 16 | 29 | -| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | fog | 2 | 29 | 31 | +| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | sun | 12 | 0.0 | 12 | +| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | rain | 15 | 12.0 | 27 | +| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | fog | 2 | 27.0 | 29 | +| 2013-11-01T00:00:00 | 2013-12-01T00:00:00 | drizzle | 1 | 29.0 | 30 | +| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | sun | 17 | 0.0 | 17 | +| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | snow | 1 | 17.0 | 18 | +| 2013-12-01T00:00:00 | 2014-01-01T00:00:00 | rain | 13 | 18.0 | 31 | +| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | sun | 16 | 0.0 | 16 | +| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | rain | 13 | 16.0 | 29 | +| 2014-01-01T00:00:00 | 2014-02-01T00:00:00 | fog | 2 | 29.0 | 31 | +---------------------+---------------------+---------+---------+---------------+-------------+"; assert_eq!(drag_selected.pretty_format(None).unwrap(), expected); }