Skip to content

Commit

Permalink
OTP 17 compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Nov 17, 2018
1 parent a28253f commit 749312e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/kvs_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-license('ISC').
-include_lib("kvs/include/kvs.hrl").
-compile(export_all).
-include_lib("stdlib/include/assert.hrl").
%-include_lib("stdlib/include/assert.hrl").

% section: kvs_stream prelude

Expand Down Expand Up @@ -116,5 +116,5 @@ test1() ->
Top = kvs_stream:top(kvs_stream:load_reader(R2)),
#reader{args=F} = kvs_stream:take(Bot#reader{args=20,dir=0}),
#reader{args=B} = kvs_stream:take(Top#reader{args=20,dir=1}),
?assertMatch(X,length(F)),
?assertMatch(F,lists:reverse(B)).
true = (X == length(F)),
true = (F == lists:reverse(B)).

0 comments on commit 749312e

Please sign in to comment.