This commit is contained in:
Aleksey Kladov 2019-02-21 12:05:52 +03:00
parent 79ce0fa8d7
commit 1b2e70df99

View file

@ -34,7 +34,7 @@ macro_rules! token_set {
#[test]
fn token_set_works_for_tokens() {
use crate::SyntaxKind::*;
let ts = token_set! { EOF, SHEBANG };
let ts = token_set![EOF, SHEBANG];
assert!(ts.contains(EOF));
assert!(ts.contains(SHEBANG));
assert!(!ts.contains(PLUS));