Improved the implementation of the "isNotEmpty" property in the String+Empty extension.
This commit is contained in:
@@ -31,7 +31,7 @@ final class String_EmptyTests: XCTestCase {
|
||||
let string = String.empty
|
||||
|
||||
// WHEN
|
||||
let result = string.isNotEmpty()
|
||||
let result = string.isNotEmpty
|
||||
|
||||
// THEN
|
||||
XCTAssertFalse(result)
|
||||
@@ -42,7 +42,7 @@ final class String_EmptyTests: XCTestCase {
|
||||
let string = String.Test.string
|
||||
|
||||
// WHEN
|
||||
let result = string.isNotEmpty()
|
||||
let result = string.isNotEmpty
|
||||
|
||||
// THEN
|
||||
XCTAssertTrue(result)
|
||||
|
||||
Reference in New Issue
Block a user