Skip to content

Commit

Permalink
addtional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Jun 19, 2024
1 parent 042a1a1 commit b154f49
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkg/detector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,18 @@ func TestLicenceDetector_GuessFilenameReadmeLogic(t *testing.T) {
},
},
},
{
name: "README ISC",
args: args{
filename: "README.md",
content: iscLicense,
},
want: []LicenseGuess{
{
Name: "ISC",
},
},
},
}

for _, tt := range tests {
Expand Down

0 comments on commit b154f49

Please sign in to comment.