diff options
author | pommicket <pommicket@gmail.com> | 2025-09-09 01:06:21 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-09 01:06:21 -0400 |
commit | 52b9cbbbf23854d959989fa0195e9dcf476e9102 (patch) | |
tree | 71844e62cff350adfa40c23d240f4a4df05040b2 /src/tests | |
parent | eae80ef227870382b4d76168866f9683e93e84f3 (diff) |
Fix a few issues
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"))?; |