소스 검색

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 년 전
부모
커밋
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),

불러오는 중...
취소
저장