mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +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()
|
||
|
}
|