Skip to content

Commit

Permalink
Remove unnecessary context type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
azr authored Jan 16, 2019
1 parent 90f6e2c commit 78f5262
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions get_file_copy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (
// cancelled after a first done is called.
type OneDoneContext bool

var _ context.Context = new(OneDoneContext)

func (*OneDoneContext) Deadline() (deadline time.Time, ok bool) { return }
func (*OneDoneContext) Value(key interface{}) interface{} { return nil }

Expand Down

0 comments on commit 78f5262

Please sign in to comment.