|
@ -80,10 +80,9 @@ mod tests { |
|
|
use super::*;
|
|
|
use super::*;
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
#[test]
|
|
|
fn test_is_builtin_blahaj(){
|
|
|
|
|
|
|
|
|
fn test_is_builtin_blahaj() {
|
|
|
assert!(is_builtin("blahaj"));
|
|
|
assert!(is_builtin("blahaj"));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
#[test]
|
|
|
fn test_is_builtin_cd() {
|
|
|
fn test_is_builtin_cd() {
|
|
@ -133,12 +132,12 @@ mod tests { |
|
|
#[test]
|
|
|
#[test]
|
|
|
fn test_is_builtin_quote() {
|
|
|
fn test_is_builtin_quote() {
|
|
|
assert!(is_builtin("quote"));
|
|
|
assert!(is_builtin("quote"));
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
#[test]
|
|
|
fn test_is_builtin_rick(){
|
|
|
|
|
|
|
|
|
fn test_is_builtin_rick() {
|
|
|
assert!(is_builtin("rick"));
|
|
|
assert!(is_builtin("rick"));
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
#[test]
|
|
|
fn test_is_builtin_segfault() {
|
|
|
fn test_is_builtin_segfault() {
|
|
@ -159,4 +158,4 @@ mod tests { |
|
|
fn test_is_builtin_notabuiltin() {
|
|
|
fn test_is_builtin_notabuiltin() {
|
|
|
assert!(!is_builtin("notabuiltin"))
|
|
|
assert!(!is_builtin("notabuiltin"))
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|