File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1192,7 +1192,7 @@ if True:
1192
1192
if True:
1193
1193
pass
1194
1194
"#
1195
- . trim( )
1195
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1196
1196
) ;
1197
1197
}
1198
1198
@@ -1242,7 +1242,7 @@ if True:
1242
1242
round_trip_with(
1243
1243
& Indentation :: new( " " . to_string( ) ) ,
1244
1244
& Quote :: default ( ) ,
1245
- & LineEnding :: default ( ) ,
1245
+ & LineEnding :: LF ( ) ,
1246
1246
r#"
1247
1247
if True:
1248
1248
pass
@@ -1253,13 +1253,13 @@ if True:
1253
1253
if True:
1254
1254
pass
1255
1255
"#
1256
- . trim( )
1256
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1257
1257
) ;
1258
1258
assert_eq ! (
1259
1259
round_trip_with(
1260
1260
& Indentation :: new( " " . to_string( ) ) ,
1261
1261
& Quote :: default ( ) ,
1262
- & LineEnding :: default ( ) ,
1262
+ & LineEnding :: LF ( ) ,
1263
1263
r#"
1264
1264
if True:
1265
1265
pass
@@ -1270,7 +1270,7 @@ if True:
1270
1270
if True:
1271
1271
pass
1272
1272
"#
1273
- . trim( )
1273
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1274
1274
) ;
1275
1275
assert_eq ! (
1276
1276
round_trip_with(
@@ -1287,7 +1287,7 @@ if True:
1287
1287
if True:
1288
1288
pass
1289
1289
"#
1290
- . trim( )
1290
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1291
1291
) ;
1292
1292
}
1293
1293
You can’t perform that action at this time.
0 commit comments