fix Imager::Color->new(channels => []) with a short array
authorTony Cook <tony@develop-help.com>
Sat, 13 Feb 2016 02:07:42 +0000 (13:07 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 16 Feb 2016 09:33:13 +0000 (20:33 +1100)
commitd1baf8e44f4d43902019006495c746bc1f643bd0
tree6a406694547f8c90223229a75bc466fc22da7893
parent7d5febefaaf904856ec15ba71d48499fab67a0f6
fix Imager::Color->new(channels => []) with a short array

Previously this would fail.
lib/Imager/Color.pm
t/100-base/020-color.t