Skip to content

Commit

Permalink
fix(c-wrapper): tests
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed Oct 10, 2024
1 parent a7542fc commit ce19c35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions c-wrapper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,8 @@ mod tests {
let result =
unsafe { veraison_get_verification_api(base_url.as_ptr(), &mut verification_api) };

let result = result.await;

// We should have an Ok result
assert_eq!(result, VeraisonResult::Ok);

Expand Down Expand Up @@ -920,6 +922,8 @@ mod tests {
)
};

let result = result.await;

// We should have an Ok result
assert_eq!(result, VeraisonResult::Ok);

Expand Down Expand Up @@ -958,6 +962,8 @@ mod tests {
)
};

let result = result.await;

// We should have an Ok result
assert_eq!(result, VeraisonResult::Ok);

Expand Down

0 comments on commit ce19c35

Please sign in to comment.