diff options
| author | sneurlax <sneurlax@gmail.com> | 2024-10-14 21:35:00 -0500 |
|---|---|---|
| committer | sneurlax <sneurlax@gmail.com> | 2024-10-14 21:35:00 -0500 |
| commit | 774091b550cac6df4f25127adb4047cf4334b973 (patch) | |
| tree | d39b91a2f5c719c93f47c6125aa8bd5a482686d5 /impls/monero.rs/tests/integration_tests.rs | |
| parent | a046d9002345918bc39dd53c8b13885b2db84263 (diff) | |
do not use libloading
Diffstat (limited to 'impls/monero.rs/tests/integration_tests.rs')
| -rw-r--r-- | impls/monero.rs/tests/integration_tests.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/impls/monero.rs/tests/integration_tests.rs b/impls/monero.rs/tests/integration_tests.rs index 168e882..beb28e2 100644 --- a/impls/monero.rs/tests/integration_tests.rs +++ b/impls/monero.rs/tests/integration_tests.rs @@ -1,4 +1,4 @@ -use monero_rust::{WalletManager, network, WalletError, WalletResult}; +use monero_c_rust::{WalletManager, network, WalletError, WalletResult}; use std::fs; use std::sync::Arc; use std::time::Instant; @@ -61,7 +61,7 @@ fn setup() -> WalletResult<(Arc<WalletManager>, TempDir)> { println!("Creating WalletManager..."); let start = Instant::now(); - let manager = WalletManager::new(None)?; + let manager = WalletManager::new()?; println!("WalletManager creation took {:?}", start.elapsed()); Ok((manager, temp_dir)) @@ -255,11 +255,4 @@ fn test_wallet_error_display() { }, _ => panic!("Expected WalletErrorCode variant"), } - - // Test WalletError::LibraryLoadError variant. - let error = WalletError::LibraryLoadError("Failed to load library".to_string()); - match error { - WalletError::LibraryLoadError(msg) => assert_eq!(msg, "Failed to load library"), - _ => panic!("Expected LibraryLoadError variant"), - } } |
