Skip to content

Commit

Permalink
Use cross Go version compatible build tag syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelrogstad authored and boyan-soubachov committed Feb 15, 2022
1 parent e798dc2 commit 1e36bfe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions assert/assertion_compare_can_convert.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.17
// +build go1.17

// TODO: once support for Go 1.16 is dropped, this file can be
Expand Down
1 change: 1 addition & 0 deletions assert/assertion_compare_go1.17_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.17
// +build go1.17

// TODO: once support for Go 1.16 is dropped, this file can be
Expand Down
1 change: 1 addition & 0 deletions assert/assertion_compare_legacy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !go1.17
// +build !go1.17

// TODO: once support for Go 1.16 is dropped, this file can be
Expand Down

0 comments on commit 1e36bfe

Please sign in to comment.