Skip to content

Commit

Permalink
Review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdrag00nv2 committed Aug 23, 2023
1 parent 3d521f7 commit 519407f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/tests/checker/arrays_dictionaries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ func TestCheckArrayMap(t *testing.T) {
return x % 2 == 0
}
let y = x.map(trueForEven)
let y: [Bool] = x.map(trueForEven)
}
fun testFixedSize() {
Expand All @@ -1247,7 +1247,7 @@ func TestCheckArrayMap(t *testing.T) {
return x % 2 == 0
}
let y = x.map(trueForEvenInt)
let y: [Bool; 5] = x.map(trueForEvenInt)
}
`)

Expand Down Expand Up @@ -1288,7 +1288,7 @@ func TestCheckArrayMapInvalidArgs(t *testing.T) {
return x % 2 == 0
}
let y = x.map(trueForEvenInt16)
let y: [Bool] = x.map(trueForEvenInt16)
}
`,
[]sema.SemanticError{
Expand All @@ -1312,7 +1312,7 @@ func TestCheckResourceArrayMapInvalid(t *testing.T) {
return true
}
let mappedXs = xs.map(allResources)
let mappedXs: [Bool] = xs.map(allResources)
destroy xs
return mappedXs
}
Expand Down
1 change: 1 addition & 0 deletions runtime/tests/interpreter/interpreter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11086,6 +11086,7 @@ func TestInterpretArrayFilter(t *testing.T) {
}

func TestInterpretArrayMap(t *testing.T) {
t.Parallel()

runValidCase := func(
t *testing.T,
Expand Down

0 comments on commit 519407f

Please sign in to comment.