]> git.saurik.com Git - redis.git/blame - client-libraries/erlang/test/proto_tests.erl
Erlang client synched with Valentiono's repo
[redis.git] / client-libraries / erlang / test / proto_tests.erl
CommitLineData
ed9b544e 1-module(proto_tests).
2
3-include_lib("eunit/include/eunit.hrl").
4
5parse_test() ->
6 ok = proto:parse(empty, "+OK"),
7 pong = proto:parse(empty, "+PONG"),
91668668 8 false = proto:parse(empty, ":0"),
9 true = proto:parse(empty, ":1"),
ed9b544e 10 {error, no_such_key} = proto:parse(empty, "-1").