1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 13:01:29 +00:00
Beego/utils/file_test.go

14 lines
178 B
Go
Raw Normal View History

2013-12-09 05:30:19 +00:00
package utils
import (
"testing"
)
func TestSelfPath(t *testing.T) {
path := SelfPath()
if path == "" {
t.Error("path cannot be empty")
}
t.Logf("SelfPath: %s", path)
}