@@ -88,20 +88,15 @@ fn print_exercises(
8888
8989#[ cfg( test) ]
9090mod tests {
91+ use super :: * ;
9192 use isolang:: Language ;
9293 use reqwest:: Url ;
93- use std:: path:: Path ;
94- use tmc_langs:: ClientError ;
95- use tmc_langs:: DownloadOrUpdateCourseExercisesResult ;
96- use tmc_langs:: DownloadResult ;
97- use tmc_langs:: LangsError ;
94+ use std:: { path:: Path , slice:: Iter } ;
9895 use tmc_langs:: {
99- Course , CourseDetails , CourseExercise , ExercisesDetails , NewSubmission , Organization ,
96+ ClientError , Course , CourseDetails , CourseExercise , DownloadOrUpdateCourseExercisesResult ,
97+ DownloadResult , ExercisesDetails , LangsError , NewSubmission , Organization ,
10098 SubmissionFinished , SubmissionStatus ,
10199 } ;
102-
103- use super :: * ;
104- use std:: slice:: Iter ;
105100 pub struct IoTest < ' a > {
106101 list : & ' a mut Vec < String > ,
107102 input : & ' a mut Iter < ' a , & ' a str > ,
@@ -315,13 +310,13 @@ mod tests {
315310 & mut self ,
316311 _exercise_ids : Vec < u32 > ,
317312 ) -> Result < Vec < ExercisesDetails > , ClientError > {
318- todo ! ( )
313+ unimplemented ! ( )
319314 }
320315 fn update_exercises (
321316 & mut self ,
322317 _path : & Path ,
323318 ) -> Result < DownloadOrUpdateCourseExercisesResult , LangsError > {
324- todo ! ( )
319+ unimplemented ! ( )
325320 }
326321 fn download_or_update_exercises (
327322 & mut self ,
@@ -335,10 +330,10 @@ mod tests {
335330 }
336331
337332 fn get_course_details ( & self , _: u32 ) -> Result < CourseDetails , ClientError > {
338- todo ! ( )
333+ unimplemented ! ( )
339334 }
340335 fn get_organization ( & self , _: & str ) -> Result < Organization , ClientError > {
341- todo ! ( )
336+ unimplemented ! ( )
342337 }
343338 }
344339
0 commit comments