aboutsummaryrefslogtreecommitdiffstats
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index c804f6b..a53015d 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -61,6 +61,8 @@ pub enum Token {
EqualEqual,
#[token("!=")]
NotEqual,
+ #[token("<=>")]
+ AssertEqual,
#[token("(")]
LeftParen,
@@ -137,13 +139,13 @@ mod tests {
}
#[test]
- fn test_lex_once_affirm() {
+ fn test_lex_once() {
lex_once("1");
}
#[test]
#[should_panic]
- fn test_lex_panic() {
+ fn test_lex_once_panic() {
lex_once("1 2");
}