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 {
143143
144144 pyo3:: prepare_freethreaded_python ( ) ;
145145 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" ) ;
150147 } )
151148 }
152149
@@ -163,7 +160,7 @@ mod tests {
163160 Python :: with_gil ( |_| {
164161 assert_eq ! (
165162 result. unwrap_err( ) . to_string( ) ,
166- "HUIError: Cannot enter field without any cards "
163+ "HUIError: Not enough carrots or no card to play "
167164 ) ;
168165 } )
169166 }
@@ -179,10 +176,7 @@ mod tests {
179176
180177 pyo3:: prepare_freethreaded_python ( ) ;
181178 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" ) ;
186180 } )
187181 }
188182
You can’t perform that action at this time.
0 commit comments