pom-parser 0.1.1

Parser for the POM configuration language
Documentation
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(())
		}
	})
}