summaryrefslogtreecommitdiff
path: root/rust/tests
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-13 19:20:49 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit7a7f9f07f16922cfbf744ed428ac482b988adf27 (patch)
tree8fd403f8955f05374f842913185837b877545d93 /rust/tests
parent9c2a45b7b78742b0cfe0a8599b8fdbf1d24533d3 (diff)
[Rust] Misc TypeLibrary API improvements
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/type_library.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/tests/type_library.rs b/rust/tests/type_library.rs
index b8a12870..19115f35 100644
--- a/rust/tests/type_library.rs
+++ b/rust/tests/type_library.rs
@@ -47,7 +47,7 @@ fn test_applying_type_library() {
// Type library types don't exist in the view until they are imported.
// Adding the type library to the view will let you import types from it without necessarily knowing "where" they came from.
let found_lib_type = view
- .import_type_library("SIP_ADD_NEWPROVIDER", None)
+ .import_type_library_type("SIP_ADD_NEWPROVIDER", None)
.expect("SIP_ADD_NEWPROVIDER exists");
assert_eq!(found_lib_type.width(), 48);
// Per docs type is returned as a NamedTypeReferenceClass.