Browse Source

test: add quote is builtin command test

main
fdai7375 2 years ago
parent
commit
0adc6f2c41
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

@ -109,6 +109,11 @@ mod tests {
assert_eq!(is_builtin("sus"), true);
}
#[test]
fn test_is_builtin_quote() {
assert_eq!(is_builtin("quote"), true);
}
#[test]
fn test_is_builtin_notabuiltin() {
assert_eq!(is_builtin("notabuiltin"), false)

Loading…
Cancel
Save