aboutsummaryrefslogtreecommitdiff
path: root/macros/src/tests/single.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/tests/single.rs')
-rw-r--r--macros/src/tests/single.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/src/tests/single.rs b/macros/src/tests/single.rs
index 497d1da7..d6693882 100644
--- a/macros/src/tests/single.rs
+++ b/macros/src/tests/single.rs
@@ -15,7 +15,7 @@ fn analyze() {
#[task(priority = 2)]
fn b(_: b::Context) {}
- // first interrupt is assigned to the highest priority dispatcher
+ // First interrupt is assigned to the highest priority dispatcher
extern "C" {
fn B();
fn A();
@@ -27,7 +27,7 @@ fn analyze() {
.unwrap();
let analysis = crate::analyze::app(analysis, &app);
- let interrupts = &analysis.interrupts[&0];
+ let interrupts = &analysis.interrupts;
assert_eq!(interrupts.len(), 2);
assert_eq!(interrupts[&2].to_string(), "B");
assert_eq!(interrupts[&1].to_string(), "A");