Skip to content

Commit

Permalink
Add a test to catch the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjaPixel committed Nov 22, 2017
1 parent d53dc9a commit 4e72352
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/data/01-single-day/01-schedule/expected02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"2017-01-23": [
"09:00"
]
}
11 changes: 11 additions & 0 deletions tests/unit/data/01-single-day/01-schedule/input02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"schedule": {
"monday": {
"from": "09:00", "to": "17:00"
}
},
"from": "2017-01-23",
"to": "2017-01-24",
"interval": 60,
"duration": 480
}

0 comments on commit 4e72352

Please sign in to comment.