Skip to content

Commit 499d473

Browse files
committed
Add "line-based" maintainers to our example for a 0.4% coverage increase
1 parent 9536e92 commit 499d473

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manifest/example_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ Directory: 1.5
6161
fmt.Printf("\n")
6262

6363
man, err = manifest.Parse(bufio.NewReader(strings.NewReader(`
64+
# maintainer: InfoSiftr <[email protected]> (@infosiftr)
65+
# maintainer: John Smith <[email protected]> (@example-jsmith)
66+
6467
# first set
6568
a: b@c d
6669
e: b@c d
@@ -101,6 +104,7 @@ i: g@h j
101104
//
102105
// -------------
103106
// line-based:
107+
// Maintainers: InfoSiftr <[email protected]> (@infosiftr), John Smith <[email protected]> (@example-jsmith)
104108
// GitFetch: refs/heads/*
105109
//
106110
// Tags: a, e

0 commit comments

Comments
 (0)