pipe_test.go 186 B

12345678910111213
  1. package iox
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. func TestRedirectInOut(t *testing.T) {
  7. restore, err := RedirectInOut()
  8. assert.Nil(t, err)
  9. defer restore()
  10. }