From 8541eb3fb8199ec883472c779c1de8249e41a721 Mon Sep 17 00:00:00 2001 From: Collin Chin Date: Tue, 8 Dec 2020 12:21:18 -0500 Subject: [PATCH] Update mod.rs --- compiler/tests/function/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/tests/function/mod.rs b/compiler/tests/function/mod.rs index 03a8b239d9..652964fafb 100644 --- a/compiler/tests/function/mod.rs +++ b/compiler/tests/function/mod.rs @@ -63,7 +63,7 @@ fn test_newlines() { #[test] fn test_multiple_returns() { - let program_string = include_str!("multiple.leo"); + let program_string = include_str!("multiple_returns.leo"); let program = parse_program(program_string).unwrap(); assert_satisfied(program); @@ -71,23 +71,23 @@ fn test_multiple_returns() { #[test] fn test_multiple_returns_fail() { - let bytes = include_bytes!("multiple_returns_fail.leo"); - let program = parse_program(bytes).unwrap(); + let program_string = include_str!("multiple_returns_fail.leo"); + let program = parse_program(program_string).unwrap(); expect_compiler_error(program); } #[test] fn test_multiple_returns_fail_conditional() { - let bytes = include_bytes!("multiple_returns_fail_conditional.leo"); - let program = parse_program(bytes).unwrap(); + let program_string = include_str!("multiple_returns_fail_conditional.leo"); + let program = parse_program(program_string).unwrap(); expect_compiler_error(program); } #[test] fn test_multiple_returns_main() { - let program_string = include_str!("multiple_main.leo"); + let program_string = include_str!("multiple_returns_main.leo"); let input_string = include_str!("input/registers.in"); let program = parse_program_with_input(program_string, input_string).unwrap();