Fix #381. slowlog test failure on first run.
Fixing tests for Redis version 2.6.5+ MULTI/EXEC transaction failure compatibility.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
Removing order requirement for KEYS test

Close #378.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
EVAL: allow parameters as an array. Close #368.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
Use first word of multi word commands

Close #363.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
Detect is an incoming "reply" is in fact a pubsub message. If so, do not pop the command queue.

This fixes an issue where the command queue gets popped prematurely by pubsub
messages, leading to callbacks for those commands not being invoked.

Close #360.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
test.js: early return if command not supported
Revert "hmset throws/errors out on non-string values. fixes #218"

Reverting because this was a documentation problem, not a problem with
the code. Performance-wise, this is faster than the approach in #345, though
it may cause users more trouble. This is okay, if someone opens an issue we
can point them to the docs.

This reverts commit b60e001fa08403240a6ecbf0c36d1c08ed8ccd9d.

Conflicts:

	index.js
	test.js
Add hiredis guard to INCR test

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
Fix parser incorrect buffer skip for MULTI/EXEC transaction errors with WATCH.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
Parser should only catch parser errors and bubble the rest to the caller.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
In nested MULTIBULK buffers, correctly recurse on an incomplete read buffer.

Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>