This file is indexed.

/usr/share/gocode/src/github.com/hashicorp/raft/inmem_transport_test.go is in golang-github-hashicorp-raft-dev 0.0~git20150728.9b586e2-2.

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
package raft

import (
	"testing"
)

func TestInmemTransportImpl(t *testing.T) {
	var inm interface{} = &InmemTransport{}
	if _, ok := inm.(Transport); !ok {
		t.Fatalf("InmemTransport is not a Transport")
	}
}