renamed pkg from interval to intervals

This commit is contained in:
Daniel Gil
2018-07-05 09:04:38 +02:00
parent 7ab61f4312
commit e73c928dad
22 changed files with 651 additions and 651 deletions

View File

@@ -1,4 +1,4 @@
package interval_test
package intervals_test
import (
"testing"
@@ -67,8 +67,8 @@ func TestGaps(t *testing.T) {
demo312 := buildIntervalsDemo312()
tt := []struct {
name string
intvls interval.Intervals
expectedGaps []interval.Interval
intvls intervals.Intervals
expectedGaps []intervals.Interval
}{
{name: "demo001", intvls: demo001.Intervals, expectedGaps: demo001.ExpectedGaps},
{name: "demo002", intvls: demo002.Intervals, expectedGaps: demo002.ExpectedGaps},