Skip to content

Commit

Permalink
Added coverage ´service \n changed podspec \n added test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Danilo Topalovic committed Mar 19, 2016
1 parent 331a5d8 commit 005a476
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Version History

### Version 1.0.1

- added assert to test
- added code coverage service

### Version 1.0.0

- cleaned the code a little
Expand Down
2 changes: 1 addition & 1 deletion SwiftValidate.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SwiftValidate"
s.version = "1.0.0"
s.version = "1.0.1"
s.summary = "A highly customizable validation library for swift"
s.homepage = "http://github.com/dtop/SwiftValidate"
s.license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions validateTests/ValidationIteratorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ class ValidationIteratorTests: XCTestCase {
let fieldInError = validationIterator.isInError(key: "city")
XCTAssertTrue(fieldInError)

XCTAssertFalse(validationIterator.isInError(key: "nonexisting-key"))

validationIterator.resultForUnknownKeys = true

// must not fail (unknown fields are ok)
Expand Down

0 comments on commit 005a476

Please sign in to comment.