-
-
Notifications
You must be signed in to change notification settings - Fork 23
Conversation
I don't know how to actually run these tests and was hoping that Travis would do it for me but no such luck. I'm able to run the top level tests, but not the tests inside of The output of
My |
If the GOPATH is ~/go, then Go is going to expect I wrote a blog post about contributing to go projects (it has some differences compared to other languages): https://splice.com/blog/contributing-open-source-git-repositories-go/ I'll pull this down and check (and get travis to run the tests. Good catch.) |
Thanks @kytrinyx, I'll give that a read. |
I'm getting two failures on this. The first one is just ordering (maybe we should just order both slices before checking equality).
|
OK, if you rebase onto master that should fix the first test failure. |
I've also tweaked the logic to ignore hidden directories implicitly (skipping hidden directories when detecting them instead of adding them to an explicit list of directories to ignore). This is to support running the project on travis, since it doesn't include the .git directory there, which throws the tests. This will probably cause conflicts—I think it should be pretty straight forward to remove any mention of |
OK, I've also gotten this to run on travis, so if you rebase onto master it should give you proper feedback. |
Okay, I'm now able to run tests, but it looks like master does not pass tests. There's a problem detecting hidden directories in |
e8e3cdd
to
9dec9f6
Compare
9dec9f6
to
40361e7
Compare
You're getting failures on master that we're not getting on travis? Could you paste the error? |
I pulled this down to my machine and it's passing there. I'm still curious what the failure is, if you're getting one—I'd hate to have something that has failures on some systems and not others (that's a kind of terrible experience for contributors). |
I'm not on my development machine right now so I can't recreate the failure exactly, but the gist was that instead of getting this from
it got:
I tried to debug the issue to figure out why dot/hidden directories were not ignored in the |
Also, I got the failing test on Ubuntu 16.04 in case that helps. |
Here's the full output:
I re-ran this with the current upstream master and got the same results. |
I wonder if the dot character is specified differently on different platforms. Would you try running the tests against this branch? https://github.com/exercism/configlet/tree/hidden-rune I tried changing the implementation of the hidden directory detection. |
Looks like the same results:
I am running the tests correctly, right? |
Yeah. I wish I could reproduce this!! |
This is needed to support exercism/exercism#2925