Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham committed Sep 19, 2024
1 parent fc05ab3 commit 3f0eaf6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
15 changes: 14 additions & 1 deletion topiary-cli/tests/samples/expected/nickel.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,20 @@
1
else
3
)
),

# regression test for https://github.com/tweag/topiary/issues/743
# (partially fixed)
let foo
| Number
= [
1,
2,
3
]
in
foo
@ [],
],

# Nickel standard library as of 44aef1672a09a76a71946fbf822713747ab7b9df
Expand Down
16 changes: 15 additions & 1 deletion topiary-cli/tests/samples/input/nickel.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,21 @@ bar == 'Goodbye
if x == 1 then
1
else
3)
3),

# regression test for https://github.com/tweag/topiary/issues/743
# (partially fixed)
let foo
| Number
=
[
1,
2,
3
]
in
foo
@ [],
],

# Nickel standard library as of 44aef1672a09a76a71946fbf822713747ab7b9df
Expand Down

0 comments on commit 3f0eaf6

Please sign in to comment.