Skip to content

Commit 4af70f1

Browse files
committed
remove obsolete build tags and Go version checks
1 parent d5451f0 commit 4af70f1

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

format/fuzz_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright (c) 2021, Daniel Martí <[email protected]>
22
// See LICENSE for licensing information
33

4-
//go:build go1.18
5-
// +build go1.18
6-
74
package format
85

96
import (

testdata/script/typeparams.txtar

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
[go1.18] exec gofumpt foo.go
2-
[!go1.18] ! exec gofumpt foo.go
3-
4-
[go1.18] cmp stdout foo.go.golden
5-
[!go1.18] stderr 'foo.go:.*expected'
1+
exec gofumpt foo.go
2+
cmp stdout foo.go.golden
63

74
-- go.mod --
85
module test

testdata/script/workspaces.txtar

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[!go1.18] skip
2-
31
# Whether we run gofumpt from inside or outside a module,
42
# we should always use the information from its go.mod.
53
# We also test that we don't get confused by the presence of go.work.

0 commit comments

Comments
 (0)