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

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