diff --git a/tests/basic.toml b/tests/basic.toml index f79eb09..7bf7ca1 100644 --- a/tests/basic.toml +++ b/tests/basic.toml @@ -69,7 +69,7 @@ exitcode = 1 args = ["nonexistant"] - [lexists_nonexistent.env] + [nonexistent.env] PKG_CONFIG_PATH="{test_root}/lib1" [exists_version] @@ -96,4 +96,42 @@ args = ["--uninstalled", "foo"] [uninstalled_bad.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[uninstalled] + args = ["--uninstalled", "omg"] + + [uninstalled.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[exists_version_bad2] + exitcode = 1 + args = ["--exists", "foo >= "] + + [exists_version_bad2.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[exists_version_bad3] + exitcode = 1 + args = ["--exists", "tilde >= 1.0.0"] + + [exists_version_bad3.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[exists] + args = ["--exists", "tilde >= 1.0.0"] + + [exists.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[exists2] + args = ["--exists", "tilde >= 1.0.0~rc1"] + + [exists2.env] + PKG_CONFIG_PATH="{test_root}/lib1" + +[exists3] + args = ["--exists", "", "foo"] + + [exists3.env] PKG_CONFIG_PATH="{test_root}/lib1" \ No newline at end of file