-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newsletter in Elixir track has incorrect automated feedback #398
Comments
Hello @octowombat, thanks for opening the issue. On an unrelated note, @angelikatyborska do the comments not get their headers removed anymore? The |
Thanks @jiegillet for the fast response. Should I wait or attempt a fix myself? |
You are very welcome to try it yourself! form do
def open_log(_ignore) when _ignore do
_block_includes do
File.open(_ignore, [:write])
end
end
end We would also need new tests in here. I'll assign the issue to you, let me know if you need more guidance :) |
@jiegillet Thanks! |
When running the test suite locally with An example is as follows:
This seems to imply that in this test that the JSON is not in the expected order when encoded as a string. Do you have any idea why this is? Has a dependency been updated? Maybe it feels like a |
Apart from the above query, I have the tests and fix ready to push as a PR. |
Some more details on the test failure: Looking into failing test
and grabbing the single comment in the list from the implementation, thus;
Then encoding that comment to JSON gives;
which shows the field |
Markdown syntax error. The comment needs to have a space after |
Mmh, it smells of this change in OTP26, the order of the maps is not guaranteed. It's definitely not related to this issue, I'll see if I can fix it. |
I will hold off pushing the PR then until this is fixed and then I know all tests are passing. |
I opened a PR #399 |
@octowombat you should be able to resume now. |
@jiegillet I have pulled in the update from the upstream repo but I am still getting 2 failures for the |
The test on line 26 is strange since the expected list of comments has 11 elements whereas the resultant list within the When I checkout at commit |
I commented on the PR :) |
Thanks, I reverted the deletion with a comment and also commented upon the question about the other variants. |
In submitting to the Elixir track my solution to the Newsletter exercise, I received the following automated feedback. I don't understand why it marks as
Essential
a code suggestion that my submitted code already has.The text was updated successfully, but these errors were encountered: