test case for interface

pull/1581/head
Darien Raymond 2019-02-20 22:57:13 +01:00
parent 1531642768
commit b7c3e1da66
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ func TestPipeWriteMultiThread(t *testing.T) {
func TestInterfaces(t *testing.T) {
_ = (buf.Reader)(new(Reader))
_ = (buf.TimeoutReader)(new(Reader))
_ = (common.Interruptible)(new(Reader))
_ = (common.Interruptible)(new(Writer))
_ = (common.Closable)(new(Writer))
}
func BenchmarkPipeReadWrite(b *testing.B) {