Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b8cdd2e

Browse filesBrowse files
committed
Merge pull request revel#720 from anonx/fix/testrunner
Get testrunner path from config file
2 parents d45d810 + 67ffc2c commit b8cdd2e
Copy full SHA for b8cdd2e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎revel.go‎

Copy file name to clipboardExpand all lines: revel.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func addModule(name, importPath, modulePath string) {
325325

326326
// Hack: There is presently no way for the testrunner module to add the
327327
// "test" subdirectory to the CodePaths. So this does it instead.
328-
if importPath == "github.com/revel/revel/modules/testrunner" {
328+
if importPath == Config.StringDefault("module.testrunner", "github.com/revel/revel/modules/testrunner") {
329329
CodePaths = append(CodePaths, path.Join(BasePath, "tests"))
330330
}
331331
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.