file_test.go 178 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 package utils import ( "testing" ) func TestSelfPath(t *testing.T) { path := SelfPath() if path == "" { t.Error("path cannot be empty") } t.Logf("SelfPath: %s", path) }