()
| 234 | |
| 235 | #[test] |
| 236 | fn tokenize_dotdot_range() { |
| 237 | let toks = tokenize("[0..23]").unwrap(); |
| 238 | assert!(matches!(toks[1].tok, Tok::Int(0))); |
| 239 | assert!(matches!(toks[2].tok, Tok::DotDot)); |
| 240 | assert!(matches!(toks[3].tok, Tok::Int(23))); |
| 241 | } |
| 242 | |
| 243 | #[test] |
| 244 | fn tokenize_negative() { |
nothing calls this directly
no test coverage detected