Sfoglia il codice sorgente

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 anni fa
parent
commit
86f783d868
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/010-short-doubles.t

+ 1
- 1
test/010-short-doubles.t Vedi File

@ -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),

Caricamento…
Annulla
Salva