Skip to content
This repository has been archived by the owner on Sep 1, 2018. It is now read-only.

Commit

Permalink
Simplify multipkg test
Browse files Browse the repository at this point in the history
Since we no longer sort the input packages, this test output is
non-deterministic.
  • Loading branch information
mvdan committed Mar 28, 2017
1 parent 15e2097 commit 87f3716
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions testdata/local/multipkg/simple.go
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
package multipkg

type Closer interface {
Close()
}

type ReadCloser interface {
Closer
Read()
}

func BasicWrong(rc ReadCloser) { // WARN rc can be Closer
rc.Close()
}

0 comments on commit 87f3716

Please sign in to comment.