-
It is common for Elixir code to output something to the CLI. Those, however, become non-trivial to test since we don't provide a mechanism to capture IO.
Luckily, all the IO in Erlang is done via the…
-
https://github.com/elixir-lang/elixir/blob/stable/lib/elixir/test/elixir/file_test.exs
....FFFFFFF....FF..FF.....FF.............FFFF......FFFFFFFFFF..FFF...F..F....FF.....FFF..........FF...
Failures…
-
Current format is: `** (ExUnit.AssertionError) Expected v1 to be equal to (==) v2`
This is sub-optimal for two reasons:
- It says "Expected v1" when v1 is the actual value and v2 is the expected valu…
-
Line 240 reads:
```
assert error.message == message
```
It should read:
```
assert message == error.message
```
(The expected value should be on the left).
-
Great idea to have a more traditional language alternative to erlang.
my make test fails with the following:
1) test_read_info (FileTest)
*\* (UndefinedFunctionError) undefined function
stacktrac…
-
And see how we can have better messages with backtraces (including Erlang R15).