Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Galbreath committed Oct 14, 2015
1 parent 5df0380 commit 5f463b3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions license_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,15 @@ func TestMatchLicenseFile(t *testing.T) {
// not the license file version (typically upper case)

licenses := []string{"copying.txt", "COPYING", "License"}
tests := []struct{
tests := []struct {
files []string
want string
want string
}{
{ []string{".", "junk", "COPYING",}, "COPYING"},
{ []string{"junk", "copy"}, ""},
{ []string{"LICENSE", "foo"}, "LICENSE"},
{ []string{"LICENSE.junk", "foo"}, "",},
{ []string{"something", "Copying.txt"}, "Copying.txt",},
{[]string{".", "junk", "COPYING"}, "COPYING"},
{[]string{"junk", "copy"}, ""},
{[]string{"LICENSE", "foo"}, "LICENSE"},
{[]string{"LICENSE.junk", "foo"}, ""},
{[]string{"something", "Copying.txt"}, "Copying.txt"},
}

for pos, tt := range tests {
Expand Down

0 comments on commit 5f463b3

Please sign in to comment.