Skip to content

Commit

Permalink
chore: move missplaced benchmark and test testdata
Browse files Browse the repository at this point in the history
  • Loading branch information
kulti committed Feb 21, 2021
1 parent cec1130 commit 264ceab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions pkg/analyzer/testdata/src/b/s.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package b

import "testing"

func TestSubtestWithAnonymous(t *testing.T) {
t.Run("sub", func(t *testing.T) {})
func BenchmarkSubtestWithAnonymous(b *testing.B) {
b.Run("sub", func(b *testing.B) {})
}

func TestSubtest(t *testing.T) {
t.Run("sub", check)
func BenchmarkSubtest(b *testing.B) {
b.Run("sub", check)
}

func check(t *testing.T) {
func check(b *testing.B) {
}
10 changes: 5 additions & 5 deletions pkg/analyzer/testdata/src/t/s.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package t

import "testing"

func BenchmarkSubtestWithAnonymous(b *testing.B) {
b.Run("sub", func(b *testing.B) {})
func TestSubtestWithAnonymous(t *testing.T) {
t.Run("sub", func(t *testing.T) {})
}

func BenchmarkSubtest(b *testing.B) {
b.Run("sub", check)
func TestSubtest(t *testing.T) {
t.Run("sub", check)
}

func check(b *testing.B) {
func check(t *testing.T) {
}

0 comments on commit 264ceab

Please sign in to comment.