Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some formatting errors.

  • Loading branch information...
commit e3aa46fa4652566e226d94891536329d3f1fdc4a 1 parent 41b2f0f
@oscarh oscarh authored
Showing with 70 additions and 70 deletions.
  1. +70 −70 test/lhttpc_tests.erl
View
140 test/lhttpc_tests.erl
@@ -37,76 +37,76 @@
"This is a relatively long body, that we send to the client... "
"This is a relatively long body, that we send to the client... "
"This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- "This is a relatively long body, that we send to the client... "
- ).
-
- test_no(N, Tests) ->
- setelement(2, Tests,
- setelement(4, element(2, Tests),
- lists:nth(N, element(4, element(2, Tests))))).
-
- %%% Eunit setup stuff
-
- start_app() ->
- application:start(crypto),
- application:start(public_key),
- ok = application:start(ssl),
- ok = lhttpc:start().
-
- stop_app(_) ->
- ok = lhttpc:stop(),
- ok = application:stop(ssl).
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ "This is a relatively long body, that we send to the client... "
+ ).
+
+test_no(N, Tests) ->
+ setelement(2, Tests,
+ setelement(4, element(2, Tests),
+ lists:nth(N, element(4, element(2, Tests))))).
+
+%%% Eunit setup stuff
+
+start_app() ->
+ application:start(crypto),
+ application:start(public_key),
+ ok = application:start(ssl),
+ ok = lhttpc:start().
+
+stop_app(_) ->
+ ok = lhttpc:stop(),
+ ok = application:stop(ssl).
tcp_test_() ->
{inorder,
Please sign in to comment.
Something went wrong with that request. Please try again.