Skip to content

Commit

Permalink
Add dataset_test.go. (chrislusf#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
justicezyx authored Jul 8, 2016
1 parent 7fc24d6 commit ec51e71
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions flow/dataset_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package flow

import (
"reflect"
"testing"
)

func TestNewDataset(t *testing.T) {
flowContext := New()
got := NewDataset(flowContext, reflect.TypeOf(1))
if got.Id != 0 {
t.Errorf("Got id: %v want: 0", got)
}
}

0 comments on commit ec51e71

Please sign in to comment.