aboutsummaryrefslogtreecommitdiffhomepage
path: root/main_test.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-08-15 19:55:39 +0200
committerRon Evans <[email protected]>2024-08-17 11:49:14 +0200
commit8b626e6ea7e98887fbd48e3c55216fdd9327fac6 (patch)
treefe24168bcad481bedf2bf4408b49efb840fdbbd5 /main_test.go
parent1d1f4fc401b449e325f6c2c04001db14801cd398 (diff)
downloadtinygo-8b626e6ea7e98887fbd48e3c55216fdd9327fac6.tar.gz
tinygo-8b626e6ea7e98887fbd48e3c55216fdd9327fac6.zip
compiler: add support for Go 1.23 range-over-func
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go
index 4c11f7b18..e70e9f7fd 100644
--- a/main_test.go
+++ b/main_test.go
@@ -97,6 +97,9 @@ func TestBuild(t *testing.T) {
if minor >= 22 {
tests = append(tests, "go1.22/")
}
+ if minor >= 23 {
+ tests = append(tests, "go1.23/")
+ }
if *testTarget != "" {
// This makes it possible to run one specific test (instead of all),