Pre: add two checks to translate tests to fix unused var warning.
This commit is contained in:
parent
5cd53aff44
commit
5718ce0155
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,7 @@ fn test_order_by() {
|
||||||
FROM `datoms` AS `datoms00` \
|
FROM `datoms` AS `datoms00` \
|
||||||
WHERE `datoms00`.a = 99 \
|
WHERE `datoms00`.a = 99 \
|
||||||
ORDER BY `?y` DESC");
|
ORDER BY `?y` DESC");
|
||||||
|
assert_eq!(args, vec![]);
|
||||||
|
|
||||||
// Unknown type.
|
// Unknown type.
|
||||||
let input = r#"[:find ?x :with ?y :where [?x _ ?y] :order ?y ?x]"#;
|
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` \
|
`all_datoms00`.value_type_tag AS `?y_value_type_tag` \
|
||||||
FROM `all_datoms` AS `all_datoms00` \
|
FROM `all_datoms` AS `all_datoms00` \
|
||||||
ORDER BY `?y_value_type_tag` ASC, `?y` ASC, `?x` ASC");
|
ORDER BY `?y_value_type_tag` ASC, `?y` ASC, `?x` ASC");
|
||||||
|
assert_eq!(args, vec![]);
|
||||||
}
|
}
|
Loading…
Reference in a new issue