File: common_test.go

package info (click to toggle)
golang-github-facebookgo-inject 0.0~git20180706.f23751c-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 124 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package inject_test

import "testing"

// testLogger is useful when debugging tests.
type testLogger struct {
	t *testing.T
}

func (t testLogger) Debugf(f string, args ...interface{}) {
	t.t.Logf(f, args...)
}