1 2 3 4 5 6 7 8
use luaparse_rs::{Lua51}; #[test] fn test_lex_dash_bracket() { let input = "--[not a block\nlocal x = 1"; let result = luaparse_rs::lexer::lex(input); assert!(result.is_ok(), "Lexer should handle --[: {:?}", result.err()); }