mirror of
https://github.com/sagiegurari/duckscript
synced 2024-09-15 22:19:51 +00:00
more tests
This commit is contained in:
parent
3884b5c144
commit
9528e59696
|
@ -17,6 +17,11 @@ fn run_single_arg() {
|
|||
test::run_script_and_error(vec![create("")], "out = greater_than 1", "out");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn run_not_numbers() {
|
||||
test::run_script_and_error(vec![create("")], "out = greater_than a b", "out");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn run_equal() {
|
||||
test::run_script_and_validate(
|
||||
|
|
|
@ -17,6 +17,11 @@ fn run_single_arg() {
|
|||
test::run_script_and_error(vec![create("")], "out = less_than 1", "out");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn run_not_numbers() {
|
||||
test::run_script_and_error(vec![create("")], "out = less_than a b", "out");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn run_equal() {
|
||||
test::run_script_and_validate(
|
||||
|
|
Loading…
Reference in a new issue