summaryrefslogtreecommitdiff
path: root/rust/tests/platform.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests/platform.rs')
-rw-r--r--rust/tests/platform.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/tests/platform.rs b/rust/tests/platform.rs
index c6c861fb..530f97b0 100644
--- a/rust/tests/platform.rs
+++ b/rust/tests/platform.rs
@@ -15,6 +15,7 @@ fn test_platform_lifetime(_session: &Session) {
let platform_1 = Platform::by_name("windows-x86_64").expect("windows-x86_64 exists");
let platform_types_1 = platform_1.types();
assert_eq!(platform_types_0.len(), platform_types_1.len());
+ assert_ne!(platform_types_1.len(), 0);
}
#[rstest]