Add test to ignore
For better handing of user-defined operators, which I will do in the future
This commit is contained in:
parent
b4f93acbd8
commit
49be163181
@ -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]");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user