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

Remove two unnecessary debug calls

Loïc Hoguin 6 лет назад
Родитель
Сommit
f9d689f9fd
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      test/compress_SUITE.erl

+ 0 - 2
test/compress_SUITE.erl

@@ -126,7 +126,6 @@ gzip_stream_reply_sendfile(Config) ->
 	{200, Headers, GzBody} = do_get("/stream_reply/sendfile",
 	{200, Headers, GzBody} = do_get("/stream_reply/sendfile",
 		[{<<"accept-encoding">>, <<"gzip">>}], Config),
 		[{<<"accept-encoding">>, <<"gzip">>}], Config),
 	{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
 	{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
-	file:write_file("/tmp/test.gz", GzBody),
 	_ = zlib:gunzip(GzBody),
 	_ = zlib:gunzip(GzBody),
 	ok.
 	ok.
 
 
@@ -135,7 +134,6 @@ gzip_stream_reply_sendfile_fin(Config) ->
 	{200, Headers, GzBody} = do_get("/stream_reply/sendfile_fin",
 	{200, Headers, GzBody} = do_get("/stream_reply/sendfile_fin",
 		[{<<"accept-encoding">>, <<"gzip">>}], Config),
 		[{<<"accept-encoding">>, <<"gzip">>}], Config),
 	{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
 	{_, <<"gzip">>} = lists:keyfind(<<"content-encoding">>, 1, Headers),
-	file:write_file("/tmp/test.gz", GzBody),
 	_ = zlib:gunzip(GzBody),
 	_ = zlib:gunzip(GzBody),
 	ok.
 	ok.