You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
173 B
Go
13 lines
173 B
Go
1 year ago
|
package iox
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestNopCloser(t *testing.T) {
|
||
|
closer := NopCloser(nil)
|
||
|
assert.NoError(t, closer.Close())
|
||
|
}
|