Skip to content

Commit

Permalink
Switch to testify/assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Aug 31, 2017
1 parent 1087e65 commit 1d8c623
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kingpin
import (
"io/ioutil"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"

"sort"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"
)

func TestArgRemainder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sort"
"strings"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"

"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion completions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kingpin
import (
"testing"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"
)

func TestResolveWithBuiltin(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io/ioutil"
"os"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"

"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"
)

func TestParserExpandFromFile(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion parsers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"
"os"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"

"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"
)

func TestFormatTwoColumns(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion values_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kingpin
import (
"net"

"github.com/alecthomas/assert"
"github.com/stretchr/testify/assert"

"testing"
)
Expand Down

0 comments on commit 1d8c623

Please sign in to comment.