OSDN Git Service

new repo
[bytom/vapor.git] / vendor / golang.org / x / text / internal / testtext / go1_7.go
1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build go1.7
6
7 package testtext
8
9 import "testing"
10
11 func Run(t *testing.T, name string, fn func(t *testing.T)) bool {
12         return t.Run(name, fn)
13 }
14
15 func Bench(b *testing.B, name string, fn func(b *testing.B)) bool {
16         return b.Run(name, fn)
17 }