Skip to content

Commit b154f49

Browse files
committed
addtional tests
1 parent 042a1a1 commit b154f49

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkg/detector_test.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,18 @@ func TestLicenceDetector_GuessFilenameReadmeLogic(t *testing.T) {
158158
},
159159
},
160160
},
161+
{
162+
name: "README ISC",
163+
args: args{
164+
filename: "README.md",
165+
content: iscLicense,
166+
},
167+
want: []LicenseGuess{
168+
{
169+
Name: "ISC",
170+
},
171+
},
172+
},
161173
}
162174

163175
for _, tt := range tests {

0 commit comments

Comments
 (0)