From 9f85fbe45eb02ab861c8a7ec46f2dc8e15994e53 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 10 Sep 2014 10:21:22 +0200 Subject: Make dialyzer happier. Make sure test function returns something. I would imagine that eunit.hrl should take care of this but haven't investigated. --- src/plop.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/plop.erl b/src/plop.erl index ef7e53f..a4bbc2a 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -471,8 +471,8 @@ add_test() -> entry = #plop_entry{type = test, data = <<"some data">>}}, SPTeq1 = spt(S#state.logid, S#state.privkey, TE), SPTeq2 = spt(S#state.logid, S#state.privkey, TE), - ?assertNotEqual(SPTeq1, SPTeq2). % DSA signatures differ! - + ?assertNotEqual(SPTeq1, SPTeq2), % DSA signatures differ! + ok. %% add_random_data(N, Size) -> %% lists:foreach( -- cgit v1.1