Files @ e93b264ec5cc
Branch filter:

Location: Regular-Expresso/tests/test_regexp.rs

e93b264ec5cc 132 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
Laman
reorganized the code
1
2
3
4
5
6
7
use regexp::Regexp;

#[test]
fn test_eval() {
	let r = Regexp::new(&String::from("(ab)*"));
	assert!(r.eval(String::from("ab")));
}