Browse Source

test: add quote is builtin command test

main
fdai7375 2 years ago
committed by fdai7451
parent
commit
70b2d474df
  1. 5
      src/builtins/mod.rs

5
src/builtins/mod.rs

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

Loading…
Cancel
Save