Skip to content

Commit

Permalink
Rework test case to resemble nested case
Browse files Browse the repository at this point in the history
  • Loading branch information
goretkin committed Jan 3, 2021
1 parent 08511ea commit 3572230
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ test_lambdas = [
)
),
(
:((y) -> ==(y, x)),
:(y -> *(x, y)),
:(
Fix(==, Template((ArgPos{1}(), Some(x))))
Fix(*, Template((Some(x), ArgPos{1}())))
)
),
(
Expand Down Expand Up @@ -172,6 +172,10 @@ test_lambdas = [
:((x, z) -> map(y -> *(x, y), z)),
missing
)
(
:(x -> x),
missing # throw an error
)
]


Expand Down

0 comments on commit 3572230

Please sign in to comment.