move tests to app/tests

This commit is contained in:
lealife
2015-09-16 11:14:29 +08:00
parent 7193ac6833
commit 4981d6aad4
4 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,7 @@ install:
script:
- mongo --version
- mongorestore -h localhost -d leanote --directoryperdb ./mongodb_backup/leanote_install_data/
- go test github.com/leanote/leanote/tests
- go test github.com/leanote/leanote/app/tests
- go build -ldflags -X github.com/leanote/leanote/app
# - revel build github.com/leanote/leanote tmp
# OK

3
app/tests/tmp.go Normal file
View File

@ -0,0 +1,3 @@
package tests
func a() {
}