1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-06 08:07:37 +03:00
nickel/tests/destructuring/simple.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
39 B
Plaintext

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