summaryrefslogtreecommitdiff
path: root/src/tests/errors.rs
blob: b9c1da9d972d2b95151a43df264c46d2bbb20bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use crate::Configuration;

#[test]
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())
		} else {
			Ok(())
		}
	})
}