diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-10-15 08:44:05 +0200 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-10-15 08:44:05 +0200 |
commit | 308948b3838c88621e738762241e8d1980881a17 (patch) | |
tree | 0cef7c4eb067c2320167634850598bd7d96cc953 /internal/pktline | |
parent | 3f03127314bd768efd0bef57915320545afcdd78 (diff) | |
download | gitlab-shell-zj-remove-testify-assert.tar.gz |
tests: Replace assert with requirezj-remove-testify-assert
Testify features sub packages `assert` and `require`. The difference is
subtle, and lost on novice Golang developers that don't read the docs.
To create a more consistent code base `assert` will no longer be used.
This change was generated by a running a sed command on all `_test.go`
files, followed by `goimports -w`.
Diffstat (limited to 'internal/pktline')
-rw-r--r-- | internal/pktline/pktline_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pktline/pktline_test.go b/internal/pktline/pktline_test.go index cf3f6fd..6910c1e 100644 --- a/internal/pktline/pktline_test.go +++ b/internal/pktline/pktline_test.go @@ -70,7 +70,7 @@ func TestScanner(t *testing.T) { func TestIsDone(t *testing.T) { testCases := []struct { - in string + in string done bool }{ {in: "0008abcd", done: false}, |