mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Update test fixtures to not use Nat indices
This commit is contained in:
parent
70a1def63b
commit
7e51dfd526
8 changed files with 62 additions and 62 deletions
|
@ -30,7 +30,7 @@ const ROC_LIST_MAP: &str = indoc::indoc!(
|
|||
r#"
|
||||
app "bench" provides [main] to "./platform"
|
||||
|
||||
main : List I64 -> Nat
|
||||
main : List I64 -> U64
|
||||
main = \list ->
|
||||
list
|
||||
|> List.map (\x -> x + 2)
|
||||
|
@ -42,7 +42,7 @@ const ROC_LIST_MAP_WITH_INDEX: &str = indoc::indoc!(
|
|||
r#"
|
||||
app "bench" provides [main] to "./platform"
|
||||
|
||||
main : List I64 -> Nat
|
||||
main : List I64 -> U64
|
||||
main = \list ->
|
||||
list
|
||||
|> List.mapWithIndex (\x, _ -> x + 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue