Skip to content

Commit bbe10e4

Browse files
authored
added test cases for pull 69
1 parent b8161e8 commit bbe10e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gltf_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func TestBuffer_marshalData(t *testing.T) {
9696
{"empty", &Buffer{URI: "data:application/octet-stream;base64,"}, nil, false},
9797
{"test", &Buffer{URI: "data:application/octet-stream;base64,TEST"}, []byte{76, 68, 147}, false},
9898
{"complex", &Buffer{URI: "data:application/octet-stream;base64,YW55IGNhcm5hbCBwbGVhcw=="}, []byte{97, 110, 121, 32, 99, 97, 114, 110, 97, 108, 32, 112, 108, 101, 97, 115}, false},
99+
{"invalid", &Buffer{URI: "data:application/octet-stream;base64"}, nil, true},
99100
}
100101
for _, tt := range tests {
101102
t.Run(tt.name, func(t *testing.T) {

0 commit comments

Comments
 (0)