Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

18 rindas
400 B

  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. // +build go1.7
  5. package testtext
  6. import "testing"
  7. func Run(t *testing.T, name string, fn func(t *testing.T)) bool {
  8. return t.Run(name, fn)
  9. }
  10. func Bench(b *testing.B, name string, fn func(b *testing.B)) bool {
  11. return b.Run(name, fn)
  12. }