mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-18 23:09:47 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -578,13 +578,13 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn var_prefixes() -> Result<()> {
|
||||
let mut p = Parser::new("${[ -a ]}${[ 0a ]}");
|
||||
let mut p = Parser::new("${[ -a ]}${[ $a ]}");
|
||||
assert_eq!(
|
||||
p.parse()?.tokens,
|
||||
vec![
|
||||
Token::Raw {
|
||||
// Shouldn't be parsed, because they're invalid
|
||||
text: "${[ -a ]}${[ 0a ]}".into()
|
||||
text: "${[ -a ]}${[ $a ]}".into()
|
||||
},
|
||||
Token::Eof
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user