mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 09:40:40 +00:00
fix the typo
This commit is contained in:
@ -41,7 +41,7 @@ func TestFileExists(t *testing.T) {
|
||||
}
|
||||
|
||||
if FileExists(noExistedFile) {
|
||||
t.Errorf("Wierd, how could this file exists: %s", noExistedFile)
|
||||
t.Errorf("Weird, how could this file exists: %s", noExistedFile)
|
||||
}
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ func TestSearchFile(t *testing.T) {
|
||||
}
|
||||
t.Log(path)
|
||||
|
||||
path, err = SearchFile(noExistedFile, ".")
|
||||
_, err = SearchFile(noExistedFile, ".")
|
||||
if err == nil {
|
||||
t.Errorf("err shouldnot be nil, got path: %s", SelfDir())
|
||||
}
|
||||
|
Reference in New Issue
Block a user