소스 검색

update test

Tao Wen 8 년 전
부모
커밋
5b27aaa62c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      example_test.go

+ 1 - 2
example_test.go

@@ -4,10 +4,9 @@ import (
 	"fmt"
 	"github.com/json-iterator/go"
 	"os"
-	"testing"
 )
 
-func Test_ExampleMarshal(t *testing.T) {
+func ExampleMarshal() {
 	type ColorGroup struct {
 		ID     int
 		Name   string