Sfoglia il codice sorgente

Add comment and fix EQC generator

pull/196/head
Andrew Thompson 11 anni fa
parent
commit
b6bfaca5f3
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +2
    -0
      src/error_logger_lager_h.erl
  2. +1
    -1
      test/trunc_io_eqc.erl

+ 2
- 0
src/error_logger_lager_h.erl Vedi File

@ -406,6 +406,8 @@ print_val(Val) ->
Str.
%% @doc Faster than proplists, but with the same API as long as you don't need to
%% handle bare atom keys
get_value(Key, Value) ->
get_value(Key, Value, undefined).

+ 1
- 1
test/trunc_io_eqc.erl Vedi File

@ -137,7 +137,7 @@ gen_pid() ->
gen_port() ->
?LAZY(begin
Port = erlang:open_port({spawn, "true"}, []),
erlang:port_close(Port),
catch(erlang:port_close(Port)),
Port
end).

Caricamento…
Annulla
Salva