File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,7 @@ mod tests {
143
143
144
144
pyo3:: prepare_freethreaded_python ( ) ;
145
145
Python :: with_gil ( |_| {
146
- assert_eq ! (
147
- result. unwrap_err( ) . to_string( ) ,
148
- "HUIError: Card not owned"
149
- ) ;
146
+ assert_eq ! ( result. unwrap_err( ) . to_string( ) , "HUIError: Card not owned" ) ;
150
147
} )
151
148
}
152
149
@@ -163,7 +160,7 @@ mod tests {
163
160
Python :: with_gil ( |_| {
164
161
assert_eq ! (
165
162
result. unwrap_err( ) . to_string( ) ,
166
- "HUIError: Cannot enter field without any cards "
163
+ "HUIError: Not enough carrots or no card to play "
167
164
) ;
168
165
} )
169
166
}
@@ -179,10 +176,7 @@ mod tests {
179
176
180
177
pyo3:: prepare_freethreaded_python ( ) ;
181
178
Python :: with_gil ( |_| {
182
- assert_eq ! (
183
- result. unwrap_err( ) . to_string( ) ,
184
- "HUIError: No card to play"
185
- ) ;
179
+ assert_eq ! ( result. unwrap_err( ) . to_string( ) , "HUIError: No card to play" ) ;
186
180
} )
187
181
}
188
182
You can’t perform that action at this time.
0 commit comments