Skip to content

Commit

Permalink
Fix cancelFunc test (#5373)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepikaDixit authored and Ilya Kislenko committed Apr 9, 2019
1 parent 2dcf4d5 commit 72db82c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/testutil/func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ func (s *FuncSuite) TestCancelFunc(c *C) {
default:
}
cancel()
c.Assert(CancelFuncOut().Error(), DeepEquals, "context canceled")
<-done
}

0 comments on commit 72db82c

Please sign in to comment.