From 52b9cbbbf23854d959989fa0195e9dcf476e9102 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 9 Sep 2025 01:06:21 -0400 Subject: Fix a few issues --- src/tests/errors.rs | 2 +- src/tests/locations.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') 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"))?; -- cgit v1.2.3