correct phrase/2

This commit is contained in:
Mark Thom
2018-10-08 11:02:48 -06:00
parent 1dc015b91f
commit 9a6094bad2
2 changed files with 4 additions and 4 deletions

View File

@@ -1890,9 +1890,9 @@ fn test_queries_on_dcgs()
instant('Lightning Bolt') --> [].".as_bytes());
assert_prolog_success!(&mut wam, "?- phrase(ability(destroy, X), P).",
[["P = [destroy, target, creature | _4]", "X = 'Llanowar Elves'"],
["P = [destroy, target, artifact | _4]", "X = 'Ankh of Mishra'"],
["P = [destroy, target, land | _4]", "X = 'Mountain'"]]);
[["P = [destroy, target, creature]", "X = 'Llanowar Elves'"],
["P = [destroy, target, artifact]", "X = 'Ankh of Mishra'"],
["P = [destroy, target, land]", "X = 'Mountain'"]]);
}
#[test]