From 593e8a6e3e9c34b5829cd3fdd6cc2c34766739ff Mon Sep 17 00:00:00 2001 From: tompro Date: Fri, 12 May 2023 10:52:48 +0200 Subject: [PATCH] fix blinker test --- tests/test_commands.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_commands.rs b/tests/test_commands.rs index 98ba60c..0725a3e 100644 --- a/tests/test_commands.rs +++ b/tests/test_commands.rs @@ -546,16 +546,16 @@ fn test_ts_revrange() { assert_eq!(res.values, vec![(1234, 3.0), (123, 2.0), (12, 1.0)]); let ts_filtered_res: TsRange = get_con() - .ts_range( - "test_ts_range", + .ts_revrange( + "test_ts_revrange", TsRangeQuery::default().filter_by_ts(vec![123, 1234]), ) .unwrap(); - assert_eq!(ts_filtered_res.values, vec![(123, 2.0), (1234, 3.0)]); + assert_eq!(ts_filtered_res.values, vec![(1234, 3.0), (123, 2.0)]); let value_filtered_res: TsRange = get_con() - .ts_range( - "test_ts_range", + .ts_revrange( + "test_ts_revrange", TsRangeQuery::default().filter_by_value(1.5, 2.5), ) .unwrap();