Add test code for returning Result<transparent struct, transparent struct>
#212
Labels
good first issue
Good for newcomers
Related to #168.
I found that returning
Result<transparent struct, transparent struct>
works correctly without needing any PRs.But, I think that we need to add any tests for returning
Result<transparent struct, transparent struct>
.I guess that the following test codes might be helpful as references.
Codegen Test:
swift-bridge/crates/swift-bridge-ir/src/codegen/codegen_tests/result_codegen_tests.rs
Lines 465 to 540 in 1f9dd05
Integration Test:
swift-bridge/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ResultTests.swift
Lines 99 to 129 in 1f9dd05
And then we need to update
examples/async-functions/src/lib.rs
:swift-bridge/examples/async-functions/src/lib.rs
Lines 15 to 16 in 1f9dd05
The text was updated successfully, but these errors were encountered: