test_that("link_license matchs exactly", {
# Shouldn't match first GPL-2
expect_equal(
autolink_license("LGPL-2"),
"LGPL-2"
)
expect_equal(
autolink_license("MPL-2.0"),
"MPL-2.0"
)
})
test_that("link_license matches LICENSE", {
expect_equal(
autolink_license("LICENSE"),
"LICENSE"
)
expect_equal(
autolink_license("LICENCE"),
"LICENCE"
)
})