[BACK]Return to licenses_test.go CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint / files

Annotation of pkgsrc/pkgtools/pkglint/files/licenses_test.go, Revision 1.1

1.1     ! rillig      1: package main
        !             2:
        !             3: import (
        !             4:        check "gopkg.in/check.v1"
        !             5: )
        !             6:
        !             7: func (s *Suite) TestParseLicenses(c *check.C) {
        !             8:        c.Check(parseLicenses("gnu-gpl-v2"), check.DeepEquals, []string{"gnu-gpl-v2"})
        !             9:        c.Check(parseLicenses("AND artistic"), check.DeepEquals, []string{"artistic"})
        !            10: }

CVSweb <webmaster@jp.NetBSD.org>