Skip to content

fix crash for excludedDirs#401

Open
sg3des wants to merge 3 commits intosmartystreets:masterfrom
sg3des:master
Open

fix crash for excludedDirs#401
sg3des wants to merge 3 commits intosmartystreets:masterfrom
sg3des:master

Conversation

@sg3des
Copy link

@sg3des sg3des commented Mar 4, 2016

if run test for dir contains in excludedDirs comes crash goconvey!
i added tiny function, checkExcludedDirs, which checks it.

in my opinion, if the user specified directory for testing - it should be tested, regardless there is or not in the excludes...

sg3des added 2 commits March 4, 2016 15:19
if run test for dir contains in excludedDirs comes crash goconvey!
i added tiny function, checkExcludedDirs, which checks it.

in my opinion, if the user specified directory for testing - it should be tested, regardless there is or not in the excludes...
@dlogvinenko
Copy link
Collaborator

@sg3des please add unit tests for your new function: checkExcludedDirs

@sg3des
Copy link
Author

sg3des commented Mar 30, 2016

Of course, tell me where? this (checkExcludedDirs) is internal func, must i create goconvey_test.go in root of package?..

@dlogvinenko
Copy link
Collaborator

@sg3des yes, please create goconvey_test.go in root of package.

"/go/src/package/node_modules/": "node_modules",
}

Convey("Exclude excluded directory for fake pathes", t, func() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`+ Convey("Exclude excluded directory for fake pathes paths", t, func() {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants