aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-06-11 17:24:54 +0200
committerRon Evans <[email protected]>2022-08-30 12:38:06 +0200
commit4695da83b71c291bc89a14dc41c9b9a91a3c6210 (patch)
tree3b4ed26f336833d4e80f1963e598714c66575bd7 /cgo
parentf094e895c55204730b0230b3b2f6fc3bb32f325a (diff)
downloadtinygo-4695da83b71c291bc89a14dc41c9b9a91a3c6210.tar.gz
tinygo-4695da83b71c291bc89a14dc41c9b9a91a3c6210.zip
all: drop support for Go 1.16 and Go 1.17
Diffstat (limited to 'cgo')
-rw-r--r--cgo/cgo_test.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/cgo/cgo_test.go b/cgo/cgo_test.go
index c542df7fd..ffc8bb01f 100644
--- a/cgo/cgo_test.go
+++ b/cgo/cgo_test.go
@@ -5,7 +5,6 @@ import (
"flag"
"fmt"
"go/ast"
- "go/build"
"go/format"
"go/parser"
"go/token"
@@ -40,20 +39,6 @@ func TestCGo(t *testing.T) {
} {
name := name // avoid a race condition
t.Run(name, func(t *testing.T) {
- // Skip tests that require specific Go version.
- if name == "errors" {
- ok := false
- for _, version := range build.Default.ReleaseTags {
- if version == "go1.16" {
- ok = true
- break
- }
- }
- if !ok {
- t.Skip("Results for errors test are only valid for Go 1.16+")
- }
- }
-
// Read the AST in memory.
path := filepath.Join("testdata", name+".go")
fset := token.NewFileSet()