Files
ippserver/packages/ipp/urivalue_test.go

18 lines
238 B
Go

package ipp
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func TestMarshalUriValue(T *testing.T) {
var u URIValue
u.name = "foo"
u.value = "bar"
b := u.marshal()
assert.Len(T, b, 11)
fmt.Printf("% x\n", b)
}