Skip to content

Commit 96ebd03

Browse files
authored
Fix test dates for gigasecond (#602)
* Fix test dates for gigasecond * Change only the year
1 parent d5588f3 commit 96ebd03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/practice/gigasecond/gigasecond_spec.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ describe('gigasecond', function()
1414
end)
1515

1616
it('test 3', function()
17-
local actual = gigasecond.anniversary(os.time({ year = 1959, month = 7, day = 19 }))
18-
local expectedDate = os.date('%x', os.time({ year = 1991, month = 3, day = 27 }))
17+
local actual = gigasecond.anniversary(os.time({ year = 1999, month = 7, day = 19 }))
18+
local expectedDate = os.date('%x', os.time({ year = 2031, month = 3, day = 27 }))
1919
assert.are.equals(expectedDate, actual)
2020
end)
2121

0 commit comments

Comments
 (0)