Skip to content

Commit 39c9e79

Browse files
committed
Auto merge of #819 - RalfJung:test-name, r=RalfJung
fix outdated test name: overalign -> align
2 parents 842a8b6 + 8d8481f commit 39c9e79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/run-pass/heap_allocator.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn check_alloc<T: Alloc>(mut allocator: T) { unsafe {
4141
}
4242
} }
4343

44-
fn check_overalign_requests<T: Alloc>(mut allocator: T) {
44+
fn check_align_requests<T: Alloc>(mut allocator: T) {
4545
for &size in &[2, 8, 64] { // size less than and bigger than alignment
4646
for &align in &[4, 8, 16, 32] { // Be sure to cover less than and bigger than `MIN_ALIGN` for all architectures
4747
let iterations = 32;
@@ -88,8 +88,8 @@ fn box_to_global() {
8888
fn main() {
8989
check_alloc(System);
9090
check_alloc(Global);
91-
check_overalign_requests(System);
92-
check_overalign_requests(Global);
91+
check_align_requests(System);
92+
check_align_requests(Global);
9393
global_to_box();
9494
box_to_global();
9595
}

0 commit comments

Comments
 (0)