Skip to content

Commit

Permalink
remove obsolete build tags and Go version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdan committed Apr 8, 2023
1 parent d5451f0 commit 4af70f1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 0 additions & 3 deletions format/fuzz_test.go
@@ -1,9 +1,6 @@
// Copyright (c) 2021, Daniel Martí <mvdan@mvdan.cc>
// See LICENSE for licensing information

//go:build go1.18
// +build go1.18

package format

import (
Expand Down
7 changes: 2 additions & 5 deletions testdata/script/typeparams.txtar
@@ -1,8 +1,5 @@
[go1.18] exec gofumpt foo.go
[!go1.18] ! exec gofumpt foo.go

[go1.18] cmp stdout foo.go.golden
[!go1.18] stderr 'foo.go:.*expected'
exec gofumpt foo.go
cmp stdout foo.go.golden

-- go.mod --
module test
Expand Down
2 changes: 0 additions & 2 deletions testdata/script/workspaces.txtar
@@ -1,5 +1,3 @@
[!go1.18] skip

# Whether we run gofumpt from inside or outside a module,
# we should always use the information from its go.mod.
# We also test that we don't get confused by the presence of go.work.
Expand Down

0 comments on commit 4af70f1

Please sign in to comment.