mirror of
https://github.com/astaxie/beego.git
synced 2024-11-26 13:01:29 +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)
|
||
|
}
|