This file is indexed.

/usr/share/gocode/src/github.com/juju/ansiterm/style_test.go is in golang-github-juju-ansiterm-dev 0.0~git20161107.35c59b9-3.

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
// Copyright 2016 Canonical Ltd.
// Licensed under the LGPLv3, see LICENCE file for details.

package ansiterm

import gc "gopkg.in/check.v1"

type styleSuite struct{}

var _ = gc.Suite(&styleSuite{})

func (*styleSuite) TestString(c *gc.C) {
	c.Check(Bold.String(), gc.Equals, "bold")
	c.Check(Strikethrough.String(), gc.Equals, "strikethrough")
	var blank Style
	c.Check(blank.String(), gc.Equals, "")
	var huge Style = 1234
	c.Check(huge.String(), gc.Equals, "")
	var negative Style = -1
	c.Check(negative.String(), gc.Equals, "")
}