diff options
author | Linus Nordberg <linus@nordu.net> | 2014-04-26 09:23:11 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2014-04-26 09:23:11 +0200 |
commit | d8857b08117ed441825725294032a14539f880b2 (patch) | |
tree | 3241e84c59f552d09d33a94ab81ac66de7b32b53 /src/test/plop_test.erl | |
parent | 874050cb72f70206df81eecb3ac5435ff99d639d (diff) |
Clean up data types.
Diffstat (limited to 'src/test/plop_test.erl')
-rw-r--r-- | src/test/plop_test.erl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/plop_test.erl b/src/test/plop_test.erl index 83b5240..b453301 100644 --- a/src/test/plop_test.erl +++ b/src/test/plop_test.erl @@ -34,11 +34,9 @@ test_add(_Pid) -> 84,193,120,213,10,25,198,189,197,147,117,151,103,12,6,1,80,37,237,125, 233,158,237,1,93,202,223,88,245,234,34,113,157,92,39,186,103,89,66,14, 78,168,208,141,78,183,57,28,196,252,251,249,153,203>>, - Entry = #plop_entry{type = ?PLOP_ENTRY_TYPE_TEST, - entry = <<"some data">>}, - PlopData = #plop_data{signature_type = ?PLOP_SIGTYPE_TEST, + Entry = #plop_entry{type = test, + data = <<"some data">>}, + PlopData = #plop_data{signature_type = test, timestamp = 4711, entry = Entry}, [?_assertEqual(TestVector, plop:add(PlopData))]. - -% Helpers. |