From 8d8481fed5c0417e01bfa4726e16e0181213e93f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 2 Jul 2019 13:02:48 +0200 Subject: [PATCH] fix outdated test name: overalign -> align --- tests/run-pass/heap_allocator.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run-pass/heap_allocator.rs b/tests/run-pass/heap_allocator.rs index 2f3a48f535dd..e7a609a7d98e 100644 --- a/tests/run-pass/heap_allocator.rs +++ b/tests/run-pass/heap_allocator.rs @@ -41,7 +41,7 @@ fn check_alloc(mut allocator: T) { unsafe { } } } -fn check_overalign_requests(mut allocator: T) { +fn check_align_requests(mut allocator: T) { for &size in &[2, 8, 64] { // size less than and bigger than alignment for &align in &[4, 8, 16, 32] { // Be sure to cover less than and bigger than `MIN_ALIGN` for all architectures let iterations = 32; @@ -88,8 +88,8 @@ fn box_to_global() { fn main() { check_alloc(System); check_alloc(Global); - check_overalign_requests(System); - check_overalign_requests(Global); + check_align_requests(System); + check_align_requests(Global); global_to_box(); box_to_global(); }