1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-04 23:27:15 +03:00
nickel/tests/destructuring/default.ncl
francois-caddet f435a22d76 add successfull tests of destructuring
NOTE: new dev dependancy (duplicate) to avoid duplication of code in the test suite.  Check `tests/destructuring.rs` for an example.
2021-11-22 11:25:58 +01:00

4 lines
38 B
Plaintext

let {a ? 1, b} = {b=2} in
a + b == 3