Conversation
kytrinyx
left a comment
There was a problem hiding this comment.
That's a great debugging find! Would you mind adding a test for this? The download_test.go file has some tests that should be fairly straight forward to copy/paste and tweak.
|
@williandrade any chance you have time to add a test for this change? I would like to get it in. Let us know if you need help or if you don’t have the time. Thanks again for your contributions |
|
Sorry for take to long to answer you guys back, I had some things to do at my job, anyway, I added the change into the test file to embrace the new change. I'm new at this thing of contribute, hope I did it right. =D |
|
Thanks for adding the test case. Would you mind rebasing your changes into the latest master https://github.com/exercism/docs/blob/master/contributing/git-basics.md#rebasing If you need help or run into issues give us a holler and we can help you resolve any git issues. |
|
I did the rebase, however I haven't sure if I did it right 😊 |
|
@williandrade it looks like you might've merged and rebased which threw the history out of whack. Please follow the steps below to resolve the rebasing issue. Let me know if you have questions. Bring your fork up to date with upstream Rebase your branch onto latest master Undo last commit to avoid another conflict resolution Rebase onto your updated master Retrieve last commit which was stashed Force push your changes back to your development branch. |
eb3149e to
ee4de51
Compare
|
omg, I just did what you said and looks that it works kkkkk. Hope that it works properly. |
cmd/download_test.go
Outdated
| "files": [ | ||
| "/file-1.txt", | ||
| "/subdir/file-2.txt", | ||
| "/subdir/file-2#.txt", |
There was a problem hiding this comment.
Directionally, this is great! Would you add a comment in the test setup to explain why the hash is part of the name? That's something that would easily be confusing a few weeks or months down the line, and it would be a bit tricky to figure out why it's there.
Happy to hear that worked out. The history looks good. @kytrinyx left feedback for you. |
|
@williandrade I was trying to push this through for you by addressing @kytrinyx last comment but I was unable to update your PR. @kytrinyx can you help out here, here is the change I wanted to add nywilken@75a9c50 |
Now that the file are download by a get request, if some character do not be encoded will try to get the wrong one.
Follow the evidence
https://api.exercism.io/v1/solutions/latest?exercise_id=hello-world&track_id=plsql
Response:
Response when do the GET request