github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/unused/unused_test.go (about)

     1  package unused
     2  
     3  // Copyright (c) 2013 The Go Authors. All rights reserved.
     4  //
     5  // Use of this source code is governed by a BSD-style
     6  // license that can be found at
     7  // https://developers.google.com/open-source/licenses/bsd.
     8  
     9  import (
    10  	"testing"
    11  
    12  	"github.com/golangci/go-tools/lint/testutil"
    13  )
    14  
    15  func TestAll(t *testing.T) {
    16  	checker := NewChecker(CheckAll)
    17  	l := NewLintChecker(checker)
    18  	testutil.TestAll(t, l, "")
    19  }