Failing TDD test
This commit is contained in:
@ -187,6 +187,13 @@ fn use_native_function_add() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn arrays_as_parametesr() {
|
||||||
|
let program = "fn identity = (x) => { return x }
|
||||||
|
let x = identity([1,2,3])";
|
||||||
|
must_plan(program);
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn use_native_function_id() {
|
fn use_native_function_id() {
|
||||||
let program = "let x = id(2)";
|
let program = "let x = id(2)";
|
||||||
|
|||||||
Reference in New Issue
Block a user