コード例 #1
0
ファイル: struct_test.go プロジェクト: arv/noms-old
func TestStructChunks(t *testing.T) {
	assert := assert.New(t)

	st := gen.StructDef{"hi", true}.New()
	chunks := st.Chunks()

	// One chunk for the Type
	assert.Len(chunks, 1)
}