Add test to ignore

For better handing of user-defined operators, which I will do in the
future
This commit is contained in:
greg 2016-01-09 01:01:37 -08:00
parent b4f93acbd8
commit 49be163181

View File

@ -151,6 +151,14 @@ mod tests {
"[NumLiteral(2.3), Identifier(\"*\"), NumLiteral(49.2), EOF]"); "[NumLiteral(2.3), Identifier(\"*\"), NumLiteral(49.2), EOF]");
assert_eq!(tokenize("2.4.5"), None); assert_eq!(tokenize("2.4.5"), None);
}
#[test]
#[ignore]
fn more_tokenization() {
//it would be nice to support complicated operators in a nice, haskell-ish way
tokentest!("a *> b",
"[Identifier(\"a\"), Identifier(\"*>\"), Identifier(\"b\"), EOF]");
} }
} }