Fixed bug in tests, unwrapping version result.

This commit is contained in:
Brian Carlsen 2024-03-26 14:36:26 +01:00
parent e8ea8c3fec
commit 7434cf7d97
No known key found for this signature in database
GPG key ID: E450AC48D17D2ADE

View file

@ -73,7 +73,7 @@ async fn test_get_version() {
Ok("1.0.0")
});
let version = get_version().await;
let version = get_version().await.unwrap();
assert_eq!(version.major, 1);
assert_eq!(version.minor, 0);