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 @@ -1102,7 +1102,7 @@ if True:
1102
1102
if True:
1103
1103
pass
1104
1104
"#
1105
- . trim( )
1105
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1106
1106
) ;
1107
1107
}
1108
1108
@@ -1152,7 +1152,7 @@ if True:
1152
1152
round_trip_with(
1153
1153
& Indentation :: new( " " . to_string( ) ) ,
1154
1154
& Quote :: default ( ) ,
1155
- & LineEnding :: default ( ) ,
1155
+ & LineEnding :: LF ( ) ,
1156
1156
r#"
1157
1157
if True:
1158
1158
pass
@@ -1163,13 +1163,13 @@ if True:
1163
1163
if True:
1164
1164
pass
1165
1165
"#
1166
- . trim( )
1166
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1167
1167
) ;
1168
1168
assert_eq ! (
1169
1169
round_trip_with(
1170
1170
& Indentation :: new( " " . to_string( ) ) ,
1171
1171
& Quote :: default ( ) ,
1172
- & LineEnding :: default ( ) ,
1172
+ & LineEnding :: LF ( ) ,
1173
1173
r#"
1174
1174
if True:
1175
1175
pass
@@ -1180,7 +1180,7 @@ if True:
1180
1180
if True:
1181
1181
pass
1182
1182
"#
1183
- . trim( )
1183
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1184
1184
) ;
1185
1185
assert_eq ! (
1186
1186
round_trip_with(
@@ -1197,7 +1197,7 @@ if True:
1197
1197
if True:
1198
1198
pass
1199
1199
"#
1200
- . trim( )
1200
+ . trim( ) . replace ( " \n " , LineEnding :: default ( ) . as_str ( ) )
1201
1201
) ;
1202
1202
}
1203
1203
You can’t perform that action at this time.
0 commit comments