8000 Very minor issue in Gen.scala companion object · Issue #913 · typelevel/scalacheck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Very minor issue in Gen.scala companion object #913
Closed
@ModisR

Description

@ModisR

On lines 1519-1525, we see the following snippet:

    val endOfDayGen: Gen[Calendar] =
      calendar.map(c => adjust(c) { c =>
        c.set(HOUR_OF_DAY, 23)
        c.set(MINUTE, 59)
        c.set(SECOND, 59)
        c.set(MILLISECOND, 59)
      })

The milliseconds are set to 59 when they should presumably be 999.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0