Lines Matching refs:should
20 assert_equals(stream.encoding, labelToName[label], 'encoding should match');
21 }, `encoding attribute should have correct value for '${label}'`);
27 assert_false(stream.fatal, 'fatal should be false');
28 }, `setting fatal to '${falseValue}' should set the attribute to false`);
32 assert_false(stream.ignoreBOM, 'ignoreBOM should be false');
33 }, `setting ignoreBOM to '${falseValue}' should set the attribute to false`);
39 assert_true(stream.fatal, 'fatal should be true');
40 }, `setting fatal to '${trueValue}' should set the attribute to true`);
44 assert_true(stream.ignoreBOM, 'ignoreBOM should be true');
45 }, `setting ignoreBOM to '${trueValue}' should set the attribute to true`);
50 'the constructor should throw');
51 }, 'constructing with an invalid encoding should throw');
56 }), 'the constructor should throw');
57 }, 'constructing with a non-stringifiable encoding should throw');
63 }), 'the constructor should throw');
64 }, 'a throwing fatal member should cause the constructor to throw');
70 }), 'the constructor should throw');
71 }, 'a throwing ignoreBOM member should cause the constructor to throw');