mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
Add tuple assign test
This commit is contained in:
parent
8d9f6da2b4
commit
61af9c1102
3
tests/golden_tests/parse_file/tuple_assign.bend
Normal file
3
tests/golden_tests/parse_file/tuple_assign.bend
Normal file
@ -0,0 +1,3 @@
|
||||
def main:
|
||||
first, second = 1, (2, 3)
|
||||
return second
|
5
tests/snapshots/parse_file__tuple_assign.bend.snap
Normal file
5
tests/snapshots/parse_file__tuple_assign.bend.snap
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
source: tests/golden_tests.rs
|
||||
input_file: tests/golden_tests/parse_file/tuple_assign.bend
|
||||
---
|
||||
(main) = let (first, second) = (1, (2, 3)); second
|
Loading…
Reference in New Issue
Block a user