redict/tests
antirez c4b0b6854e Type mismatch errors are now prefixed with WRONGTYPE.
So instead to reply with a generic error like:

-ERR ... wrong kind of value ...

now it replies with:

-WRONGTYPE ... wrong kind of value ...

This makes this particular error easy to check without resorting to
(fragile) pattern matching of the error string (however the error string
used to be consistent already).

Client libraries should return a specific exeption type for this error.

Most of the commit is about fixing unit tests.
2012-11-06 20:25:34 +01:00
..
assets fix typos in tests/assets/default.conf 2012-03-29 18:23:04 +08:00
helpers Regression test for issue 417 (memory leak when replicating to DB with id >= 10) 2012-03-30 10:26:07 +02:00
integration A reimplementation of blocking operation internals. 2012-09-17 10:26:46 +02:00
support fix a typo in a comment 2012-10-24 17:47:56 +09:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Type mismatch errors are now prefixed with WRONGTYPE. 2012-11-06 20:25:34 +01:00
test_helper.tcl BITOP and BITCOUNT tests. 2012-05-24 15:19:48 +02:00