summaryrefslogtreecommitdiff
path: root/lib/_stream_transform.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_stream_transform.js')
-rw-r--r--lib/_stream_transform.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js
index ab6ada8dec..b4fffaa988 100644
--- a/lib/_stream_transform.js
+++ b/lib/_stream_transform.js
@@ -209,9 +209,7 @@ function done(stream, er, data) {
if (data != null) // Single equals check for both `null` and `undefined`
stream.push(data);
- // TODO(BridgeAR): Write a test for these two error cases
- // if there's nothing in the write buffer, then that means
- // that nothing more will ever be provided
+ // These two error cases are coherence checks that can likely not be tested.
if (stream._writableState.length)
throw new ERR_TRANSFORM_WITH_LENGTH_0();