Lines Matching refs:should
39 assert_array_equals(chunks, [1, 2, 3, 4, 5]), 'chunks should match');
40 }, 'Piping through a duck-typed pass-through transform stream should work');
46 c.error(new Error('this rejection should not be reported as unhandled'));
54 // The test harness should complain about unhandled rejections by then.
76 assert_false(calledPipeTo, 'the overridden pipeTo should not have been called');
77 assert_equals(result, readable, 'return value should be the passed readable property');
78 }, 'pipeThrough should not call pipeTo on this');
94 assert_false(calledFakePipeTo, 'the monkey-patched pipeTo should not have been called');
95 assert_equals(result, readable, 'return value should be the passed readable property');
97 }, 'pipeThrough should not call pipeTo on the ReadableStream prototype');
104 'pipeThrough should throw');
105 }, `pipeThrough should brand-check this and not allow '${readable}'`);
119 'pipeThrough should brand-check readable'
121 assert_false(writableGetterCalled, 'writable should not have been accessed');
122 }, `pipeThrough should brand-check readable and not allow '${readable}'`);
141 'pipeThrough should brand-check writable');
142 assert_true(readableGetterCalled, 'readable should have been accessed');
143 }, `pipeThrough should brand-check writable and not allow '${writable}'`);
151 pull: t.unreached_func('pull should not be called')
162 'pipeThrough should rethrow the error thrown by the writable getter');
172 'pipeThrough should rethrow the error thrown by the readable getter');
174 }, 'pipeThrough should rethrow errors from accessing readable or writable');
181 'pipeThrough should throw');
182 }, `invalid values of signal should throw; specifically '${signal}'`);
190 }, 'pipeThrough should accept a real AbortSignal');
196 'pipeThrough should throw');
197 }, 'pipeThrough should throw if this is locked');
205 'pipeThrough should throw');
206 }, 'pipeThrough should throw if writable is locked');
214 'pipeThrough should not throw');
215 }, 'pipeThrough should not care if readable is locked');
227 assert_array_equals(rs.events, ['pull'], 'cancel should not have been called');
229 }, 'preventCancel should work');
241 assert_array_equals(writable.events, [], 'writable should not be closed');
243 }, 'preventClose should work');
255 assert_array_equals(writable.events, [], 'writable should not be aborted');
257 }, 'preventAbort should work');
267 }), 'pipeThrough should throw');
268 }, 'pipeThrough() should throw if an option getter grabs a writer');
275 }, 'pipeThrough() should not throw if option is null');
282 }, 'pipeThrough() should not throw if signal is undefined');
331 }, 'pipeThrough() should throw if readable/writable getters throw');