diff options
| author | Mason Reed <mason@vector35.com> | 2025-05-04 19:06:10 -0400 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-05-12 17:45:24 -0400 |
| commit | 28b3c4044af06fdc32c9c85bf8381b5058306427 (patch) | |
| tree | 9326509a7ac3a4badce05d37d4e5d79f147424d3 /rust/tests/initialization.rs | |
| parent | 16b6295afc4f7aee0e4aba4f2217b124524843d0 (diff) | |
[Rust] Simplify enterprise initialization
We don't need to introduce extra global state when the goal is to not release floating licenses in shutdown.
Diffstat (limited to 'rust/tests/initialization.rs')
| -rw-r--r-- | rust/tests/initialization.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/tests/initialization.rs b/rust/tests/initialization.rs index 9847a734..7ec52598 100644 --- a/rust/tests/initialization.rs +++ b/rust/tests/initialization.rs @@ -11,8 +11,8 @@ use binaryninja::set_license; #[test] fn test_license_validation() { - // Release floating license if we already have one, otherwise the failure will succeed. - release_license(); + // Release the floating license if we already have one, otherwise the failure will succeed. + release_license(true); // Make sure we properly report invalid license. let options = InitializationOptions::default() .with_license_checkout(false) |
