Skip to content

Commit 1e36bfe

Browse files
torkelrogstadboyan-soubachov
authored andcommitted
Use cross Go version compatible build tag syntax
1 parent e798dc2 commit 1e36bfe

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

assert/assertion_compare_can_convert.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.17
12
// +build go1.17
23

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

assert/assertion_compare_go1.17_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build go1.17
12
// +build go1.17
23

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

assert/assertion_compare_legacy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !go1.17
12
// +build !go1.17
23

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

0 commit comments

Comments
 (0)