@@ -20,7 +20,7 @@ describe('dedentBlockStringLines', () => {
2020 expectDedent ( [ '' ] ) . to . deep . equal ( [ ] ) ;
2121 } ) ;
2222
23- it ( 'do not dedent first line' , ( ) => {
23+ it ( 'does not dedent first line' , ( ) => {
2424 expectDedent ( [ ' a' ] ) . to . deep . equal ( [ ' a' ] ) ;
2525 expectDedent ( [ ' a' , ' b' ] ) . to . deep . equal ( [ ' a' , 'b' ] ) ;
2626 } ) ;
@@ -162,12 +162,7 @@ describe('isPrintableAsBlockString', () => {
162162 expectNonPrintable ( ' \t' ) ;
163163 } ) ;
164164
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' , ( ) => {
171166 expectNonPrintable ( '\x00' ) ;
172167 expectNonPrintable ( 'a\x00b' ) ;
173168 } ) ;
@@ -194,7 +189,7 @@ describe('isPrintableAsBlockString', () => {
194189 expectNonPrintable ( '\n\na' ) ;
195190 } ) ;
196191
197- it ( 'rejects strings with leading empty lines' , ( ) => {
192+ it ( 'rejects strings with trailing empty lines' , ( ) => {
198193 expectNonPrintable ( 'a\n' ) ;
199194 expectNonPrintable ( 'a\n ' ) ;
200195 expectNonPrintable ( 'a\n\t' ) ;
@@ -217,7 +212,7 @@ describe('printBlockString', () => {
217212 } ;
218213 }
219214
220- it ( 'do not escape characters' , ( ) => {
215+ it ( 'does not escape characters' , ( ) => {
221216 const str = '" \\ / \b \f \n \r \t' ;
222217 expectBlockString ( str ) . toEqual ( {
223218 readable : '"""\n' + str + '\n"""' ,
0 commit comments