Skip to content

Commit 6ba647a

Browse files
committed
Auto merge of #2707 - oli-obk:ui_test_bump, r=RalfJung
Bump ui_test crate All commands can now be revisioned: oli-obk/ui_test#33
2 parents 837c679 + 94d0fb0 commit 6ba647a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ libloading = "0.7"
3939

4040
[dev-dependencies]
4141
colored = "2"
42-
ui_test = "0.4"
42+
ui_test = "0.5"
4343
rustc_version = "0.4"
4444
# Features chosen to match those required by env_logger, to avoid rebuilds
4545
regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }

tests/fail/function_calls/exported_symbol_abi_mismatch.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() {
1212
#[cfg(fn_ptr)]
1313
unsafe {
1414
std::mem::transmute::<unsafe fn(), unsafe extern "C" fn()>(foo)();
15-
//[fn_ptr]~^ ERROR: calling a function with calling convention Rust using calling convention C
15+
//~[fn_ptr]^ ERROR: calling a function with calling convention Rust using calling convention C
1616
}
1717

1818
// `Instance` caching should not suppress ABI check.
@@ -28,8 +28,8 @@ fn main() {
2828
}
2929
unsafe {
3030
foo();
31-
//[no_cache]~^ ERROR: calling a function with calling convention Rust using calling convention C
32-
//[cache]~| ERROR: calling a function with calling convention Rust using calling convention C
31+
//~[no_cache]^ ERROR: calling a function with calling convention Rust using calling convention C
32+
//~[cache]| ERROR: calling a function with calling convention Rust using calling convention C
3333
}
3434
}
3535
}

tests/fail/function_calls/exported_symbol_bad_unwind2.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#[cfg_attr(any(definition, both), rustc_nounwind)]
55
#[no_mangle]
66
extern "C-unwind" fn nounwind() {
7-
//[definition]~^ ERROR: abnormal termination: the program aborted execution
8-
//[both]~^^ ERROR: abnormal termination: the program aborted execution
7+
//~[definition]^ ERROR: abnormal termination: the program aborted execution
8+
//~[both]^^ ERROR: abnormal termination: the program aborted execution
99
panic!();
1010
}
1111

@@ -15,5 +15,5 @@ fn main() {
1515
fn nounwind();
1616
}
1717
unsafe { nounwind() }
18-
//[extern_block]~^ ERROR: unwinding past a stack frame that does not allow unwinding
18+
//~[extern_block]^ ERROR: unwinding past a stack frame that does not allow unwinding
1919
}

0 commit comments

Comments
 (0)