change test to be specific for msvc
This commit is contained in:
parent
726ba6630d
commit
874574d548
@ -60,8 +60,7 @@ fn expected(fn_name: &str) -> String {
|
||||
// name with namespace info, so we just see `foo` and not
|
||||
// `backtrace::foo` as we see on linux (which uses the linkage
|
||||
// name).
|
||||
|
||||
if cfg!(windows) {
|
||||
if cfg!(windows) && cfg!(target_env = "msvc") {
|
||||
format!(" - {}", fn_name)
|
||||
} else {
|
||||
format!(" - backtrace::{}", fn_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user