mirror of
https://github.com/astaxie/beego.git
synced 2024-11-16 22:50:55 +00:00
14 lines
178 B
Go
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)
|
||
|
}
|