This commit is contained in:
ge
2025-01-22 03:23:08 +03:00
commit d5931aa5e0
13 changed files with 8849 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import licenseid
fn test_query() {
l := licenseid.query('GPL-3.0-or-later')!
assert l.license_id == 'GPL-3.0-or-later'
}
fn test_details() {
l := licenseid.query('Unlicense')!
details := l.details()!
assert details.name == 'The Unlicense'
}