Skip to content

Commit

Permalink
Fix test Spec for gigasecond exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-khadykin committed Oct 17, 2017
1 parent 64475c1 commit b80fcbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/gigasecond/GigasecondSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GigasecondSpec extends Specification {
when:
def result = gigasecond.from(start)
then:
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '2043-Jan-01 00:46:40')
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '2043-Jan-01 01:46:40')
}

@Ignore
Expand All @@ -22,7 +22,7 @@ class GigasecondSpec extends Specification {
when:
def result = gigasecond.from(start)
then:
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '1991-Mar-27 01:17:40')
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '1991-Mar-27 02:17:40')
}

@Ignore
Expand All @@ -32,7 +32,7 @@ class GigasecondSpec extends Specification {
when:
def result = gigasecond.from(start)
then:
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '2009-Feb-19 03:02:25')
result == Date.parse('yyyy-MMM-dd hh:mm:ss', '2009-Feb-19 04:02:25')
}

}

0 comments on commit b80fcbf

Please sign in to comment.