Преглед изворни кода

all_test.go => {suite,decode}_test.go

Gustavo Niemeyer пре 15 година
родитељ
комит
f3293401ce
2 измењених фајлова са 13 додато и 6 уклоњено
  1. 0 6
      decode_test.go
  2. 13 0
      suite_test.go

+ 0 - 6
all_test.go → decode_test.go

@@ -3,17 +3,11 @@ package goyaml_test
 
 
 import (
 import (
     . "gocheck"
     . "gocheck"
-    "testing"
     "goyaml"
     "goyaml"
     "reflect"
     "reflect"
     "math"
     "math"
 )
 )
 
 
-func Test(t *testing.T) { TestingT(t) }
-
-type S struct{}
-
-var _ = Suite(&S{})
 
 
 var unmarshalTests = []struct{data string; value interface{}}{
 var unmarshalTests = []struct{data string; value interface{}}{
     // It will encode either value as a string if asked for.
     // It will encode either value as a string if asked for.

+ 13 - 0
suite_test.go

@@ -0,0 +1,13 @@
+package goyaml_test
+
+
+import (
+    . "gocheck"
+    "testing"
+)
+
+func Test(t *testing.T) { TestingT(t) }
+
+type S struct{}
+
+var _ = Suite(&S{})