summaryrefslogtreecommitdiff
path: root/rust/tests/debug_info.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests/debug_info.rs')
-rw-r--r--rust/tests/debug_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/tests/debug_info.rs b/rust/tests/debug_info.rs
index 8b83363b..407b41d5 100644
--- a/rust/tests/debug_info.rs
+++ b/rust/tests/debug_info.rs
@@ -69,7 +69,7 @@ fn test_debug_info() {
let func = view
.function_at(&view.default_platform().unwrap(), 0x3b440)
.expect("Debug info test function exists");
- assert_eq!(func.symbol().raw_name().to_string(), "test_func");
+ assert_eq!(func.symbol().raw_name().to_string_lossy(), "test_func");
view.file().close();
}