mirror of
https://github.com/astaxie/beego.git
synced 2024-11-16 20:00:54 +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)
|
|
}
|