This file is indexed.

/usr/share/gocode/src/github.com/coreos/go-etcd/etcd/debug_test.go is in golang-github-coreos-go-etcd-dev 2.0.0-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package etcd

import (
	"testing"
)

type Foo struct{}
type Bar struct {
	one string
	two int
}

// Tests that logs don't panic with arbitrary interfaces
func TestDebug(t *testing.T) {
	f := &Foo{}
	b := &Bar{"asfd", 3}
	for _, test := range []interface{}{
		1234,
		"asdf",
		f,
		b,
	} {
		logger.Debug(test)
		logger.Debugf("something, %s", test)
		logger.Warning(test)
		logger.Warningf("something, %s", test)
	}
}