Skip to content

Commit

Permalink
remove unused unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltwind committed Feb 12, 2023
1 parent faf63bf commit 94ce5f0
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions java_lang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,13 @@
package hessian

import (
"fmt"
"reflect"
"testing"
)

import (
"github.com/stretchr/testify/assert"
)

func TestDecodePointerSliceSet(t *testing.T) {
a := []*int16{nil}
v := reflect.ValueOf(a)
var b int16 = 1

typ := reflect.TypeOf(b)

fmt.Printf("%v %v", v.Index(0).Type(), v.Index(0).Kind())
switch v.Index(0).Type() {
case typ:

}
v.Index(0).Set(reflect.ValueOf(&b))

}
func TestDecodeJavaSingleShort(t *testing.T) {
var i int32 = 123
got, err := decodeJavaResponse(`customReplySingleShort`, ``, false)
Expand Down

0 comments on commit 94ce5f0

Please sign in to comment.