@@ -199,7 +199,7 @@ fn test_as_cairo_short_string() {
199199 assert_eq ! ( as_cairo_short_string( & Felt252 :: from( 0x6100 ) ) , Some ( "a" . to_string( ) ) ) ;
200200 assert_eq ! ( as_cairo_short_string( & Felt252 :: from( 0x61000000 ) ) , Some ( "a" . to_string( ) ) ) ;
201201
202- // With a non printable character.
202+ // With a non- printable character.
203203 assert_eq ! ( as_cairo_short_string( & Felt252 :: from( 0x610162 ) ) , None ) ;
204204}
205205
@@ -226,7 +226,7 @@ fn test_as_cairo_short_string_ex() {
226226 assert_eq ! ( as_cairo_short_string_ex( & Felt252 :: from( 0x6100 ) , 2 ) , Some ( r"a\0" . to_string( ) ) ) ;
227227 assert_eq ! ( as_cairo_short_string_ex( & Felt252 :: from( 0x610062 ) , 3 ) , Some ( r"a\0b" . to_string( ) ) ) ;
228228
229- // With a non printable character.
229+ // With a non- printable character.
230230 assert_eq ! ( as_cairo_short_string_ex( & Felt252 :: from( 0x610162 ) , 3 ) , Some ( r"a\x01b" . to_string( ) ) ) ;
231231
232232 // More data than expected.
@@ -406,7 +406,7 @@ fn test_format_for_debug() {
406406 // Valid string with Null.
407407 let felts = vec ! [
408408 Felt252 :: from_hex_unchecked( BYTE_ARRAY_MAGIC ) ,
409- // No full word .
409+ // No full words .
410410 Felt252 :: from( 0 ) ,
411411 // pending word: 'Hello\0world'
412412 Felt252 :: from_hex_unchecked( "48656c6c6f00776f726c64" ) ,
@@ -418,7 +418,7 @@ fn test_format_for_debug() {
418418 // Valid string with a non printable character.
419419 let felts = vec ! [
420420 Felt252 :: from_hex_unchecked( BYTE_ARRAY_MAGIC ) ,
421- // No full word .
421+ // No full words .
422422 Felt252 :: from( 0 ) ,
423423 // pending word: 'Hello\x11world'
424424 Felt252 :: from_hex_unchecked( "48656c6c6f11776f726c64" ) ,
@@ -430,7 +430,7 @@ fn test_format_for_debug() {
430430 // Valid string with a newline.
431431 let felts = vec ! [
432432 Felt252 :: from_hex_unchecked( BYTE_ARRAY_MAGIC ) ,
433- // No full word .
433+ // No full words .
434434 Felt252 :: from( 0 ) ,
435435 // pending word: 'Hello\nworld'
436436 Felt252 :: from_hex_unchecked( "48656c6c6f0a776f726c64" ) ,
0 commit comments