Kaynağa Gözat

Leave a note about further improvments

pull/11/head
Paul J. Davis 13 yıl önce
ebeveyn
işleme
110c253680
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. +9
    -0
      test/jiffy_tests.erl

+ 9
- 0
test/jiffy_tests.erl Dosyayı Görüntüle

@ -95,6 +95,15 @@ json() ->
?SIZED(S, json_text(S)). ?SIZED(S, json_text(S)).
%% XXX: Add generators
%
% We should add generators that generate JSON binaries directly
% so we can test things that aren't produced by the encoder.
%
% We should also have a version of the JSON generator that inserts
% errors into the JSON that we can test for.
escaped_utf8_bin() -> escaped_utf8_bin() ->
?SUCHTHAT(Bin, ?SUCHTHAT(Bin,
?LET(S, ?SUCHTHAT(L, list(escaped_char()), L /= []), ?LET(S, ?SUCHTHAT(L, list(escaped_char()), L /= []),

Yükleniyor…
İptal
Kaydet