fix call error func (#3245)

master
guangwu 2 years ago committed by GitHub
parent e4a1b7bb39
commit f0bdfb928f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,9 +9,9 @@ import (
) )
func TestReadLink(t *testing.T) { func TestReadLink(t *testing.T) {
dir, err := os.CreateTemp("", "go-zero") dir, err := os.MkdirTemp("", "go-zero")
assert.Nil(t, err) assert.Nil(t, err)
symLink := filepath.Join(dir.Name(), "test") symLink := filepath.Join(dir, "test")
pwd, err := os.Getwd() pwd, err := os.Getwd()
assertError(err, t) assertError(err, t)

Loading…
Cancel
Save