github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/analyzers/golang/util_test.go (about)

     1  package golang_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/fossas/fossa-cli/analyzers/golang"
     7  )
     8  
     9  func TestUnvendorPathThatIsNotVendored(t *testing.T) {
    10  	if "foobar" != golang.Unvendor("foobar") {
    11  		t.Fail()
    12  	}
    13  }