/usr/share/gocode/src/github.com/smartystreets/goconvey/reporting/scope_result.go is in golang-github-smartystreets-goconvey-dev 1.5.0-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 | package reporting
type ScopeResult struct {
Title string
File string
Line int
Depth int
Assertions []*AssertionResult
}
func newScopeResult(title string, depth int, file string, line int) *ScopeResult {
self := &ScopeResult{}
self.Title = title
self.Depth = depth
self.File = file
self.Line = line
self.Assertions = []*AssertionResult{}
return self
}
|