aboutsummaryrefslogtreecommitdiffstats
path: root/test.pl
diff options
context:
space:
mode:
authorTeddy Wing2015-06-14 20:02:50 -0400
committerTeddy Wing2015-06-14 20:02:50 -0400
commit711081355012581a82831eefb6179cb412747136 (patch)
treeed7463725171d48fa4b9b5b4c49cdde72827fec3 /test.pl
parentf1b64d6816086554cc5538eca24e0cdba36dff70 (diff)
downloadirssi-hipchat-stfu-711081355012581a82831eefb6179cb412747136.tar.bz2
Strip 'Priority:' and 'Status:'
These single lines are irrelevant and don't need to be included in output.
Diffstat (limited to 'test.pl')
-rwxr-xr-xtest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.pl b/test.pl
index 1e0a2a3..c596e8c 100755
--- a/test.pl
+++ b/test.pl
@@ -15,11 +15,11 @@ is(prettify_hipchat('<span style="color: dimgrey;">Type:</span>  <img src="http
'Type: Bug',
'Type');
is(prettify_hipchat(' <span style="color: dimgrey;">Priority:</span>  <img src="http://pixshark.com/white-box-icon.htm" height="16" width="16" />'),
- 'Priority:',
+ '',
'Priority label');
is(prettify_hipchat(' Not prioritized  '), 'Not prioritized', 'Priority tag body');
is(prettify_hipchat('<span style="color: dimgrey;">Status:</span>  '),
- 'Status:',
+ '',
'Status label');
is(prettify_hipchat(' <span class="aui-lozenge aui-lozenge-complete">'),
'',