@@ -192,24 +192,24 @@ fn test_unsafe_slice() {
192192
193193#[ test]
194194fn test_starts_with ( ) {
195- assert ! ( ( "" . starts_with( "" ) ) ) ;
196- assert ! ( ( "abc" . starts_with( "" ) ) ) ;
197- assert ! ( ( "abc" . starts_with( "a" ) ) ) ;
198- assert ! ( ( !"a" . starts_with( "abc" ) ) ) ;
199- assert ! ( ( !"" . starts_with( "abc" ) ) ) ;
200- assert ! ( ( !"ödd" . starts_with( "-" ) ) ) ;
201- assert ! ( ( "ödd" . starts_with( "öd" ) ) ) ;
195+ assert ! ( "" . starts_with( "" ) ) ;
196+ assert ! ( "abc" . starts_with( "" ) ) ;
197+ assert ! ( "abc" . starts_with( "a" ) ) ;
198+ assert ! ( !"a" . starts_with( "abc" ) ) ;
199+ assert ! ( !"" . starts_with( "abc" ) ) ;
200+ assert ! ( !"ödd" . starts_with( "-" ) ) ;
201+ assert ! ( "ödd" . starts_with( "öd" ) ) ;
202202}
203203
204204#[ test]
205205fn test_ends_with ( ) {
206- assert ! ( ( "" . ends_with( "" ) ) ) ;
207- assert ! ( ( "abc" . ends_with( "" ) ) ) ;
208- assert ! ( ( "abc" . ends_with( "c" ) ) ) ;
209- assert ! ( ( !"a" . ends_with( "abc" ) ) ) ;
210- assert ! ( ( !"" . ends_with( "abc" ) ) ) ;
211- assert ! ( ( !"ddö" . ends_with( "-" ) ) ) ;
212- assert ! ( ( "ddö" . ends_with( "dö" ) ) ) ;
206+ assert ! ( "" . ends_with( "" ) ) ;
207+ assert ! ( "abc" . ends_with( "" ) ) ;
208+ assert ! ( "abc" . ends_with( "c" ) ) ;
209+ assert ! ( !"a" . ends_with( "abc" ) ) ;
210+ assert ! ( !"" . ends_with( "abc" ) ) ;
211+ assert ! ( !"ddö" . ends_with( "-" ) ) ;
212+ assert ! ( "ddö" . ends_with( "dö" ) ) ;
213213}
214214
215215#[ test]
0 commit comments