File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,10 @@ mod test {
142
142
#[ test]
143
143
fn test_pending_state ( ) {
144
144
let exercise = Exercise {
145
+ name : "pending_exercise" . into ( ) ,
145
146
path : PathBuf :: from ( "tests/fixture/state/pending_exercise.rs" ) ,
146
147
mode : Mode :: Compile ,
148
+ hint : String :: new ( ) ,
147
149
} ;
148
150
149
151
let state = exercise. state ( ) ;
@@ -181,8 +183,10 @@ mod test {
181
183
#[ test]
182
184
fn test_finished_exercise ( ) {
183
185
let exercise = Exercise {
186
+ name : "finished_exercise" . into ( ) ,
184
187
path : PathBuf :: from ( "tests/fixture/state/finished_exercise.rs" ) ,
185
188
mode : Mode :: Compile ,
189
+ hint : String :: new ( ) ,
186
190
} ;
187
191
188
192
assert_eq ! ( exercise. state( ) , State :: Done ) ;
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ fn get_hint_for_single_test() {
118
118
. assert ( )
119
119
. code ( 0 )
120
120
. stdout ( "Hello!\n " ) ;
121
+ }
121
122
122
123
#[ test]
123
124
fn all_exercises_require_confirmation ( ) {
You can’t perform that action at this time.
0 commit comments