@@ -279,10 +279,10 @@ pub mod tests {
279279 ( add, symbols)
280280 }
281281
282- pub fn create_calyx_go_down_transaction (
282+ pub fn create_calyx_go_done_transaction (
283283 handler : & mut DiagnosticHandler ,
284284 ) -> ( Transaction , SymbolTable ) {
285- // Manually create the expected result of parsing `calyx_go_down `.
285+ // Manually create the expected result of parsing `calyx_go_done `.
286286 // Note that the order in which things are created will be different in the parser.
287287
288288 // 1) declare symbols
@@ -313,7 +313,7 @@ pub mod tests {
313313 // create fileid and read file
314314 let input =
315315 std:: fs:: read_to_string ( "tests/calyx_go_done_struct.prot" ) . expect ( "failed to load" ) ;
316- let calyx_fileid = handler. add_file ( "calyx_go_done .prot" . to_string ( ) , input) ;
316+ let calyx_fileid = handler. add_file ( "calyx_go_done_struct .prot" . to_string ( ) , input) ;
317317
318318 // 2) create transaction
319319 let mut calyx_go_done = Transaction :: new ( "calyx_go_done" . to_string ( ) ) ;
@@ -374,9 +374,9 @@ pub mod tests {
374374 }
375375
376376 #[ test]
377- fn serialize_calyx_go_down_transaction ( ) {
377+ fn serialize_calyx_go_done_transaction ( ) {
378378 let mut handler = DiagnosticHandler :: new ( ) ;
379- let ( calyx_go_done, symbols) = create_calyx_go_down_transaction ( & mut handler) ;
379+ let ( calyx_go_done, symbols) = create_calyx_go_done_transaction ( & mut handler) ;
380380 println ! ( "{}" , serialize_to_string( & calyx_go_done, & symbols) . unwrap( ) ) ;
381381 }
382382
0 commit comments