Skip to content

Commit

Permalink
describing test more accurately
Browse files Browse the repository at this point in the history
  • Loading branch information
travgm committed Nov 3, 2024
1 parent b990fa0 commit 86720a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/DecimalTimeSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ spec = do
Right s -> s ^. extendedFlag == extended
Left _ -> True

describe "updateCurrentDateWithZonedTime returns proper date" $ do
it "returns the date from the ZonedTime" $ property $ \tod zt ->
describe "updateCurrentDateWithZonedTime" $ do
it "verifies state _currentDate is set to LocalTime" $ property $ \tod zt ->
let state = makeTestState tod
localTime = zonedTimeToLocalTime zt
updatedState = updateCurrentDateWithZonedTime zt state
Expand Down

0 comments on commit 86720a7

Please sign in to comment.