зеркало из https://github.com/go-gitea/yaml.git
all_test.go => {suite,decode}_test.go
This commit is contained in:
Родитель
910de08261
Коммит
f3293401ce
|
@ -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.
|
|
@ -0,0 +1,13 @@
|
||||||
|
package goyaml_test
|
||||||
|
|
||||||
|
|
||||||
|
import (
|
||||||
|
. "gocheck"
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func Test(t *testing.T) { TestingT(t) }
|
||||||
|
|
||||||
|
type S struct{}
|
||||||
|
|
||||||
|
var _ = Suite(&S{})
|
Загрузка…
Ссылка в новой задаче