This file is indexed.

/usr/share/gocode/src/github.com/lxc/lxd/shared/stringset_test.go is in golang-github-lxc-lxd-dev 2.0.2-0ubuntu1~16.04.1.

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

import (
	"testing"
)

func TestStringSetSubset(t *testing.T) {
	ss := NewStringSet([]string{"one", "two"})

	if !ss.IsSubset(ss) {
		t.Error("subests wrong")
		return
	}

	if !ss.IsSubset(NewStringSet([]string{"one", "two", "three"})) {
		t.Error("subsets wrong")
		return
	}

	if ss.IsSubset(NewStringSet([]string{"four"})) {
		t.Error("subests wrong")
		return
	}
}