MobileOrg / mobileorg

MobileOrg iPhone App
http://mobileorg.github.io
GNU General Public License v2.0
557 stars 70 forks source link

Two unit-tests never pass on the first run #260

Open dive opened 4 years ago

dive commented 4 years ago

We have two unit-tests that depend on the environment and never pass on the first run (example on TravisCI):

MobileOrgTests.OrgfileParserTests
789  testParseOrgFileDifferentTodoWords, failed
790  /Users/travis/build/MobileOrg/mobileorg/MobileOrgTests/OrgfileParserTests.swift:96
791  ```
792      } else {
793        XCTFail()
794      }
795  ```
796
797  testParseOrgFileDifferentTodoWords, failed
798  /Users/travis/build/MobileOrg/mobileorg/MobileOrgTests/OrgfileParserTests.swift:106
799  ```
800      } else {
801        XCTFail()
802      }
803  ```

Let's fix them.

webframp commented 4 years ago

That's gross, thanks for finding it