From 5718ce01555ff05c001202c402ab88cd0fe1d36f Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Mon, 17 Apr 2017 13:29:40 -0700 Subject: [PATCH] Pre: add two checks to translate tests to fix unused var warning. --- query-translator/tests/translate.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/query-translator/tests/translate.rs b/query-translator/tests/translate.rs index f0c4d6f9..452cce0d 100644 --- a/query-translator/tests/translate.rs +++ b/query-translator/tests/translate.rs @@ -382,6 +382,7 @@ fn test_order_by() { FROM `datoms` AS `datoms00` \ WHERE `datoms00`.a = 99 \ ORDER BY `?y` DESC"); + assert_eq!(args, vec![]); // Unknown type. let input = r#"[:find ?x :with ?y :where [?x _ ?y] :order ?y ?x]"#; @@ -390,4 +391,5 @@ fn test_order_by() { `all_datoms00`.value_type_tag AS `?y_value_type_tag` \ FROM `all_datoms` AS `all_datoms00` \ ORDER BY `?y_value_type_tag` ASC, `?y` ASC, `?x` ASC"); + assert_eq!(args, vec![]); } \ No newline at end of file