Skip to content

Commit ff0a3f8

Browse files
committed
Add back build tags for toml-test files
Makes sure tests run on Go <=1.15; accidentally lost in 847ee8a
1 parent 7356d5f commit ff0a3f8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

internal/toml-test/json.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build go1.16
2+
// +build go1.16
3+
14
package tomltest
25

36
import (

internal/toml-test/runner.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//go:generate ./gen-multi.py
2+
//go:build go1.16
3+
// +build go1.16
24

35
package tomltest
46

internal/toml-test/toml.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build go1.16
2+
// +build go1.16
3+
14
package tomltest
25

36
import (

0 commit comments

Comments
 (0)