Fixed bug in tests, unwrapping version result.
This commit is contained in:
parent
e8ea8c3fec
commit
7434cf7d97
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue