1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 20:00:54 +00:00
Beego/utils/file_test.go
2013-12-09 13:30:19 +08:00

14 lines
178 B
Go

package utils
import (
"testing"
)
func TestSelfPath(t *testing.T) {
path := SelfPath()
if path == "" {
t.Error("path cannot be empty")
}
t.Logf("SelfPath: %s", path)
}