mirror of
https://github.com/beego/bee.git
synced 2025-07-27 05:25:32 +00:00
fix test case
This commit is contained in:
@@ -99,6 +99,7 @@ func TestCheckAndLoadPackageOnGoMod(t *testing.T) {
|
||||
for _, v := range astPkgs {
|
||||
if v.Name == test.pkgName {
|
||||
result = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if test.expected != result {
|
||||
@@ -212,6 +213,7 @@ type Common struct {
|
||||
for _, v := range astPkgs {
|
||||
if v.Name == test.pkgName {
|
||||
result = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if test.expected != result {
|
||||
|
Reference in New Issue
Block a user