Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbzurovski committed Nov 29, 2024
1 parent 820f67d commit c032ab7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apple/Tests/TestCases/Prelude/NonFungibleGlobalIDTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ final class NonFungibleGlobalIDTests: IdentifiableByStringProtocolTest<NonFungib

func test_valid_from_str() {
XCTAssertEqual(
try SUT("resource_rdx1nfyg2f68jw7hfdlg5hzvd8ylsa7e0kjl68t5t62v3ttamtejc9wlxa:<Member_237>"),
// swiftformat:disable redundantInit
try SUT.init("resource_rdx1nfyg2f68jw7hfdlg5hzvd8ylsa7e0kjl68t5t62v3ttamtejc9wlxa:<Member_237>"),
SUT.sample
)
}

func test_invalid_from_str() {
XCTAssertThrowsError(
try SUT("super invalid string!!!!")
// swiftformat:disable redundantInit
try SUT.init("super invalid string!!!!")
)
}

Expand Down

0 comments on commit c032ab7

Please sign in to comment.