Skip to content

Commit

Permalink
Merge pull request #92 from puzza007/revert-readable-workaround
Browse files Browse the repository at this point in the history
Revert "Workaround for cth_readable in older rebar3"
  • Loading branch information
puzza007 committed May 11, 2019
2 parents 7763f37 + e85b01b commit 9fdd4aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ language: erlang
services:
- docker

install: wget https://github.com/erlang/rebar3/releases/download/3.10.0/rebar3 && chmod 755 rebar3

otp_release:
- 19.1
- 20.0
- 20.1
- 21.0
- 21.3

script: rebar3 update && rebar3 ct --readable=false && rebar3 dialyzer && rebar3 coveralls send
script: ./rebar3 update && ./rebar3 ct && ./rebar3 dialyzer && ./rebar3 coveralls send

cache:
directories:
Expand Down
4 changes: 2 additions & 2 deletions test/katipo_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ cookies(_) ->
{ok, #{status := 200, cookiejar := CookieJar, body := Body}} = katipo:get(?POOL, Url, Opts),
Json = jsx:decode(Body),
[{<<"cname">>, <<"cvalue">>}] = proplists:get_value(<<"cookies">>, Json),
[<<"httpbin.org\tFALSE\t/\tTRUE\t0\tcname\tcvalue">>] = CookieJar.
[<<"httpbin.org\tFALSE\t/\tFALSE\t0\tcname\tcvalue">>] = CookieJar.

cookies_delete(_) ->
Url = <<"https://httpbin.org/cookies/delete?cname">>,
Expand Down Expand Up @@ -651,7 +651,7 @@ session_new(_) ->
{state, ?POOL, #{cookiejar := CookieJar}} = Session2,
Json = jsx:decode(Body),
[{<<"cname">>, <<"cvalue">>}] = proplists:get_value(<<"cookies">>, Json),
[<<"httpbin.org\tFALSE\t/\tTRUE\t0\tcname\tcvalue">>] = CookieJar.
[<<"httpbin.org\tFALSE\t/\tFALSE\t0\tcname\tcvalue">>] = CookieJar.

session_new_bad_opts(_) ->
{error, #{code := bad_opts}} =
Expand Down

0 comments on commit 9fdd4aa

Please sign in to comment.