Ver Fonte

fix: condition in matrix_test

Viktor Sokolov há 3 dias atrás
pai
commit
b3c0f1b33c

+ 1 - 1
integration/matrix_test.go

@@ -101,7 +101,7 @@ func (s *MatrixTestSuite) TestMatrix() {
 	for _, source := range formats {
 		for _, target := range formats {
 			s.Run(fmt.Sprintf("%s/%s", source.String(), target.String()), func() {
-				if !target.IsVector() && source.IsVector() {
+				if !source.IsVector() && target.IsVector() {
 					// we can not vectorize a raster image
 					s.T().Logf("Skipping %s -> %s conversion: we can not vectorize raster image", source.String(), target.String())
 					return

BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/bmp/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/gif/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/heic/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/ico/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/jpeg/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/jxl/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/tiff/svg.svg.hash


BIN
testdata/test-hashes/TestMatrix/TestMatrix/svg/webp/svg.svg.hash