elixir icon indicating copy to clipboard operation
elixir copied to clipboard

Typo in "Introduction to Mix"?

Open srpelissier opened this issue 13 years ago • 3 comments

http://elixir-lang.org/getting_started/mix/1.html

In the section 1.1.3 test/my_project_test.exs, the example shown has __FILE__ in Code.require_file, that does not work, but it works with __DIR__ instead.

srpelissier avatar May 29 '13 12:05 srpelissier

Thank you! The issue has been fixed!

josevalim avatar May 29 '13 13:05 josevalim

Fixing the issue introduced another: test_helper.exs lost its extension becoming test_help and preventing the code from being loaded.

srpelissier avatar May 29 '13 13:05 srpelissier

Oops, this should be fixed too! Also, feel free to send pull requests to https://github.com/elixir-lang/elixir-lang.github.com if you find anything else out of date! Thank you!

josevalim avatar May 29 '13 13:05 josevalim