mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-14 03:42:32 +00:00
more tests
This commit is contained in:
parent
8e347757dc
commit
620a7a1838
|
@ -118,6 +118,17 @@ fn test_nested_if2
|
|||
assert ${valid}
|
||||
end
|
||||
|
||||
fn test_if_call_command
|
||||
text = set test,
|
||||
|
||||
valid = set false
|
||||
if ends_with ${text} ,
|
||||
valid = set true
|
||||
end
|
||||
|
||||
assert ${valid}
|
||||
end
|
||||
|
||||
fn test_if_call_to_functions
|
||||
value = _test_return_true
|
||||
valid = set false
|
||||
|
|
Loading…
Reference in a new issue