1
0

file_test.go 233 B

123456789101112131415
  1. package utils
  2. import (
  3. "testing"
  4. )
  5. // TestIsNotExistMkDir 测试IsNotExistMkDir函数
  6. func TestIsNotExistMkDir(t *testing.T) {
  7. err := IsNotExistMkDir("../../pkg/aaa")
  8. if err != nil {
  9. t.Error(err)
  10. } else {
  11. t.Log("done")
  12. }
  13. }