elixir-lang / elixir

Elixir is a dynamic, functional language for building scalable and maintainable applications
https://elixir-lang.org/
Apache License 2.0
24.49k stars 3.38k forks source link

ExUnit: € sign causes Argument error #4235

Closed hdcos closed 8 years ago

hdcos commented 8 years ago

When I use a € sign in a test desciprtion with

test "crediting 850€ with BlueCard" do
  ...
end

When I run my test with

mix test --trace test/...

I get

test/lemonwex_test.exs:46: warning: this expression will fail with ArgumentError
** (ArgumentError) argument error
    test/lemonwex_test.exs:46: (module)
    (stdlib) erl_eval.erl:669: :erl_eval.do_apply/6

and I can't run my test case. when I remove the € sign it runs successfully. $ sign is ok

josevalim commented 8 years ago

It is because we convert test names to atoms and atoms unfortunately do not support unicode yet. There is nothing we can do but I will investigate what is the status of this, thank you!