Skip to content

Commit

Permalink
Update runtime/runtime_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Supun Setunga <[email protected]>
  • Loading branch information
turbolent and SupunS authored Oct 16, 2024
1 parent fea8a9a commit 5412bfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11526,7 +11526,7 @@ func TestResultRedeclared(t *testing.T) {
access(all)
fun test(): Int {
post {
result == 1
result == 2
}
}
}
Expand All @@ -11537,7 +11537,7 @@ func TestResultRedeclared(t *testing.T) {
access(all)
fun test(): Int {
let result = 1
return result
return 2 // return a different value than the local variable
}
}
Expand Down

0 comments on commit 5412bfc

Please sign in to comment.