joyent/node — pull request #5186 by arhart (2013-03-31 18:03:50+00:00)
Title: test: test intended code-paths

The tests did not agree with the test comments. Tests first and second
were both testing the !state.reading case. Now second tests the
state.reading && state.length case.

Fixes joyent/node#5183