update the default test file tests/default_test.go#562
Open
jeffy5 wants to merge 2 commits intobeego:developfrom
jeffy5:develop
Open
update the default test file tests/default_test.go#562jeffy5 wants to merge 2 commits intobeego:developfrom jeffy5:develop
tests/default_test.go#562jeffy5 wants to merge 2 commits intobeego:developfrom
jeffy5:develop
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are something wrong when I run the command
go test ./....➜ base go test ./...
? github.com/xr-hui/base [no test files]
? github.com/xr-hui/base/controllers [no test files]
? github.com/xr-hui/base/routers [no test files]
panic: the target config file: /home/wjh/project/go/src/github.com/xr-hui/base/tests/conf/app.conf don't exist
goroutine 1 [running]:
github.com/astaxie/beego.InitBeegoBeforeTest(0xc000024410, 0x43)
/home/wjh/project/go/src/github.com/astaxie/beego/beego.go:119 +0xb8
github.com/astaxie/beego.TestBeegoInit(0xc000022480, 0x35)
/home/wjh/project/go/src/github.com/astaxie/beego/beego.go:113 +0xc3
github.com/xr-hui/base/tests.init.0()
/home/wjh/project/go/src/github.com/xr-hui/base/tests/default_test.go:18 +0xc2
FAIL github.com/xr-hui/base/tests 0.006s