mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
14 lines
186 B
Go
14 lines
186 B
Go
package iox
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestRedirectInOut(t *testing.T) {
|
|
restore, err := RedirectInOut()
|
|
assert.Nil(t, err)
|
|
defer restore()
|
|
}
|