]> git.saurik.com Git - redis.git/blob - client-libraries/erlang/test/proto_tests.erl
New file dump format, perl client library added
[redis.git] / client-libraries / erlang / test / proto_tests.erl
1 -module(proto_tests).
2
3 -include_lib("eunit/include/eunit.hrl").
4
5 parse_test() ->
6 ok = proto:parse(empty, "+OK"),
7 pong = proto:parse(empty, "+PONG"),
8 false = proto:parse(empty, "0"),
9 true = proto:parse(empty, "1"),
10 {error, no_such_key} = proto:parse(empty, "-1").