Skip to content

Commit 040a812

Browse files
committed
Fix test for .preConfirmed case
1 parent 5a22432 commit 040a812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/NetworkTests/Providers/ProviderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class ProviderTests: XCTestCase {
3737
func testGetBlockWithTxsWithPreConfirmedBlockTag() async throws {
3838
let result = try await provider.send(request: RequestBuilder.getBlockWithTxs(StarknetBlockId.BlockTag.preConfirmed))
3939

40-
guard case .processed = result else {
40+
guard case .preConfirmed = result else {
4141
XCTFail("Expected result to be of type .preConfirmed")
4242
return
4343
}

0 commit comments

Comments
 (0)