Skip to content

Commit

Permalink
Add back build tags for toml-test files
Browse files Browse the repository at this point in the history
Makes sure tests run on Go <=1.15; accidentally lost in 847ee8a
  • Loading branch information
arp242 committed Nov 25, 2021
1 parent 7356d5f commit ff0a3f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/toml-test/json.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build go1.16
// +build go1.16

package tomltest

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/toml-test/runner.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//go:generate ./gen-multi.py
//go:build go1.16
// +build go1.16

package tomltest

Expand Down
3 changes: 3 additions & 0 deletions internal/toml-test/toml.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//go:build go1.16
// +build go1.16

package tomltest

import (
Expand Down

0 comments on commit ff0a3f8

Please sign in to comment.