diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/errors.rs | 2 | ||||
-rw-r--r-- | src/tests/locations.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/errors.rs b/src/tests/errors.rs index abe1bbb..b9c1da9 100644 --- a/src/tests/errors.rs +++ b/src/tests/errors.rs @@ -1,7 +1,7 @@ use crate::Configuration; #[test] -fn parsing() { +fn errors() { super::do_tests_in_dir("errors", ".pom", |filename| { if Configuration::load_path(filename).is_ok() { Err(format!("should produce an error, but doesn't").into()) diff --git a/src/tests/locations.rs b/src/tests/locations.rs index 2310101..fdbfa2b 100644 --- a/src/tests/locations.rs +++ b/src/tests/locations.rs @@ -1,7 +1,7 @@ use crate::Configuration; #[test] -fn parsing() { +fn locations() { super::do_tests_in_dir("location", ".locations.pom", |filename| { let locations = Configuration::load_path(filename)?; let config = Configuration::load_path(&filename.replace(".locations.pom", ".pom"))?; |