Просмотр исходного кода

Forgot to refactor the roundtrip tests

I removed some columns to try and minimize the amount of test data I'm
requiring and forgot to update the test code.
pull/44/head 0.8.1
Paul J. Davis 12 лет назад
Родитель
Сommit
86f783d868
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      test/010-short-doubles.t

+ 1
- 1
test/010-short-doubles.t Просмотреть файл

@ -21,7 +21,7 @@ main([]) ->
run_tests([]) ->
ok;
run_tests([{Double, _, _} | Rest]) ->
run_tests([Double | Rest]) ->
RoundTrip = jiffy:decode(jiffy:encode(Double)),
Desc = lists:flatten(io_lib:format("~e", [Double])),
etap:is(RoundTrip, Double, "Roundtrip: " ++ Desc),

Загрузка…
Отмена
Сохранить