From ad99afae988fba54411ad7130d28946a02188c78 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 25 Apr 2019 18:18:39 +0200 Subject: [PATCH] Fix panic_handler test by fixing line number --- tests/panic_handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/panic_handler.rs b/tests/panic_handler.rs index 0e1e6819..5a55537c 100644 --- a/tests/panic_handler.rs +++ b/tests/panic_handler.rs @@ -9,7 +9,7 @@ use core::{ }; const MESSAGE: &str = "Example panic message from panic_handler test"; -const PANIC_LINE: u32 = 14; // adjust this when moving the `panic!` call +const PANIC_LINE: u32 = 17; // adjust this when moving the `panic!` call #[no_mangle] pub extern "C" fn _start() -> ! {