ColorCode: Adding failing test for rgba

master
Rob Emery 2014-12-11 14:24:48 +00:00
parent e79b81e75b
commit d7c2383292
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ ddg_goodie_test([qw(
html =>
qq(<div class="zci--color-codes"><div class="colorcodesbox" style="background:#ff0000"></div>Hex: #ff0000 &middot; rgb(255, 0, 0) &middot; rgb(100%, 0%, 0%) <br> hsl(0, 100%, 50%) &middot; cmyb(0%, 100%, 100%, 0%) &middot; [<a href='http://labs.tineye.com/multicolr#colors=ff0000;weights=100;'>Images</a>] [<a href='http://www.color-hex.com/color/ff0000' title='Tints, information and similar colors on color-hex.com'>Info</a>]</div>),
),
'rgba(99,60,176,0.5)' => test_zci(
'Hex',
html => qr/background:#7040aa/
),
# Queries to ignore.
'bluishblack html' => undef,
'HTML email' => undef,