Skip to content

Commit

Permalink
Merge pull request #27 from CruGlobal/test-empty-key-value
Browse files Browse the repository at this point in the history
Set key to empty value
  • Loading branch information
levieggertcru authored Jun 21, 2024
2 parents c34ed8b + 51565fd commit 3130f9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LocalizableStringsBundleTests: XCTestCase {

func testEmptyKeyReturnsNil() {

XCTAssertNil(stringsBundle.stringForKey(key: LocalizableStringsBundleTests.missingStringPhraseKey), "")
XCTAssertNil(stringsBundle.stringForKey(key: ""), "Value returned should be nil.")
}

func testExistingPhraseReturnsAValue() {
Expand Down

0 comments on commit 3130f9f

Please sign in to comment.