fix: remove unwrapping in an assert

This commit is contained in:
CosminPerRam 2023-12-10 19:46:12 +02:00
parent 55f498d45a
commit bc2b69d183

View file

@ -12,7 +12,7 @@ mod tests {
#[test]
fn test_gdresult_ok() {
let result: GDResult<u32> = Ok(42);
assert_eq!(result.unwrap(), 42);
assert_eq!(result, Ok(42));
}
// Testing Err variant of the GDResult type