aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/server
diff options
context:
space:
mode:
authorOleg Kovalov <iamolegkovalov@gmail.com>2020-07-01 21:03:12 +0200
committerOleg Kovalov <iamolegkovalov@gmail.com>2020-07-01 21:03:12 +0200
commitf9cf9a99fd51bff8e002900a3a73d117ba54c887 (patch)
treee7b28b456ef3ed90eafc026b506786bea5df179e /plumbing/transport/server
parent27a034c7643768a4ad486a64e8a1b59fa3f8b3b4 (diff)
downloadgo-git-f9cf9a99fd51bff8e002900a3a73d117ba54c887.tar.gz
fix nil
Diffstat (limited to 'plumbing/transport/server')
-rw-r--r--plumbing/transport/server/receive_pack_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/server/receive_pack_test.go b/plumbing/transport/server/receive_pack_test.go
index ceb4cc3..6c704bd 100644
--- a/plumbing/transport/server/receive_pack_test.go
+++ b/plumbing/transport/server/receive_pack_test.go
@@ -60,5 +60,5 @@ func (s *ReceivePackSuite) TestReceivePackWithNilPackfile(c *C) {
report, err := r.ReceivePack(context.Background(), req)
c.Assert(report, IsNil, comment)
- c.Assert(err, IsNil, comment)
+ c.Assert(err, NotNil, comment)
}