@@ -223,10 +223,7 @@ mod test {
223223 let temp = copy_test ( "tests/data/project" ) ;
224224 let run_result = plugin. run_tests ( temp. path ( ) ) . unwrap ( ) ;
225225 assert_eq ! ( run_result. status, RunStatus :: Passed ) ;
226- assert_eq ! (
227- run_result. test_results[ 0 ] . name,
228- "test.test_points.TestEverything.test_new"
229- ) ;
226+ assert_eq ! ( run_result. test_results[ 0 ] . name, "TestEverything: test_new" ) ;
230227 assert ! ( run_result. test_results[ 0 ] . successful) ;
231228 assert ! ( run_result. test_results[ 0 ] . points. contains( & "1.1" . into( ) ) ) ;
232229 assert ! ( run_result. test_results[ 0 ] . points. contains( & "1.2" . into( ) ) ) ;
@@ -240,10 +237,7 @@ mod test {
240237 let temp = copy_test ( "tests/data/failing" ) ;
241238 let run_result = plugin. run_tests ( temp. path ( ) ) . unwrap ( ) ;
242239 assert_eq ! ( run_result. status, RunStatus :: TestsFailed ) ;
243- assert_eq ! (
244- run_result. test_results[ 0 ] . name,
245- "test.test_failing.TestFailing.test_new"
246- ) ;
240+ assert_eq ! ( run_result. test_results[ 0 ] . name, "TestFailing: test_new" ) ;
247241 assert ! ( !run_result. test_results[ 0 ] . successful) ;
248242 assert ! ( run_result. test_results[ 0 ] . points. contains( & "1.1" . into( ) ) ) ;
249243 assert ! ( run_result. test_results[ 0 ] . points. contains( & "1.2" . into( ) ) ) ;
@@ -258,7 +252,7 @@ mod test {
258252 assert_eq ! ( run_result. status, RunStatus :: TestsFailed ) ;
259253 assert_eq ! (
260254 run_result. test_results[ 0 ] . name,
261- "test.test_erroring. TestErroring. test_erroring"
255+ "TestErroring: test_erroring"
262256 ) ;
263257 assert ! ( !run_result. test_results[ 0 ] . successful) ;
264258 assert ! ( run_result. test_results[ 0 ] . points. contains( & "1.1" . into( ) ) ) ;
0 commit comments