graphics: Add comments

This commit is contained in:
Hajime Hoshi 2018-03-11 00:40:37 +09:00
parent 48408cba11
commit dbe5c9c0ab

View File

@ -210,6 +210,7 @@ func TestImageComposition(t *testing.T) {
}
func TestImageSelf(t *testing.T) {
// Note that mutex usages: without defer, unlocking is not called when panicing.
defer func() {
if r := recover(); r == nil {
t.Errorf("DrawImage must panic but not")