@@ -20,7 +20,7 @@ describe('dedentBlockStringLines', () => {
20
20
expectDedent ( [ '' ] ) . to . deep . equal ( [ ] ) ;
21
21
} ) ;
22
22
23
- it ( 'do not dedent first line' , ( ) => {
23
+ it ( 'does not dedent first line' , ( ) => {
24
24
expectDedent ( [ ' a' ] ) . to . deep . equal ( [ ' a' ] ) ;
25
25
expectDedent ( [ ' a' , ' b' ] ) . to . deep . equal ( [ ' a' , 'b' ] ) ;
26
26
} ) ;
@@ -162,12 +162,7 @@ describe('isPrintableAsBlockString', () => {
162
162
expectNonPrintable ( ' \t' ) ;
163
163
} ) ;
164
164
165
- it ( 'rejects strings with non-printable character' , ( ) => {
166
- expectNonPrintable ( '\x00' ) ;
167
- expectNonPrintable ( 'a\x00b' ) ;
168
- } ) ;
169
-
170
- it ( 'rejects strings with non-printable character' , ( ) => {
165
+ it ( 'rejects strings with non-printable characters' , ( ) => {
171
166
expectNonPrintable ( '\x00' ) ;
172
167
expectNonPrintable ( 'a\x00b' ) ;
173
168
} ) ;
@@ -194,7 +189,7 @@ describe('isPrintableAsBlockString', () => {
194
189
expectNonPrintable ( '\n\na' ) ;
195
190
} ) ;
196
191
197
- it ( 'rejects strings with leading empty lines' , ( ) => {
192
+ it ( 'rejects strings with trailing empty lines' , ( ) => {
198
193
expectNonPrintable ( 'a\n' ) ;
199
194
expectNonPrintable ( 'a\n ' ) ;
200
195
expectNonPrintable ( 'a\n\t' ) ;
@@ -217,7 +212,7 @@ describe('printBlockString', () => {
217
212
} ;
218
213
}
219
214
220
- it ( 'do not escape characters' , ( ) => {
215
+ it ( 'does not escape characters' , ( ) => {
221
216
const str = '" \\ / \b \f \n \r \t' ;
222
217
expectBlockString ( str ) . toEqual ( {
223
218
readable : '"""\n' + str + '\n"""' ,
0 commit comments