diff --git a/src/test/pnf.rs b/src/test/pnf.rs index 2303b3e..00daa3a 100644 --- a/src/test/pnf.rs +++ b/src/test/pnf.rs @@ -29,6 +29,11 @@ fn test_param_normalize() { dict.parse(">~").expect("parse errror").param_normalize(), ); + assert_eq!( + dict.parse("").expect("parse error"), + dict.parse("~").expect("parse error").param_normalize(), + ); + assert_eq!( dict.parse(" F~G H H>").expect("parse error"), dict.parse(" F H H>