From f1b64d6816086554cc5538eca24e0cdba36dff70 Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Sun, 14 Jun 2015 19:48:58 -0400
Subject: Change title message format (single line)
Change the format so that the title message is on a single line instead
of 3. Typically this will mean that the message will appear on 2 lines,
which is still better than 3 lines, saving us some vertical space.
---
test.pl | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
(limited to 'test.pl')
diff --git a/test.pl b/test.pl
index 5a0ace1..1e0a2a3 100755
--- a/test.pl
+++ b/test.pl
@@ -5,15 +5,11 @@ use strict;
use Test::More tests => 9;
require 'prettify_hipchat.pl';
-my $title_message = <<'END_MESSAGE';
-SC-1000 : Some kind of issue text that is kind of long and describes the problem that we saw during testing.
-https://somecompany.atlassian.net/browse/SC-2169
-Created by Person Name
-END_MESSAGE
-chomp($title_message);
is(prettify_hipchat('
SC-1000 : Some kind of issue text that is kind of long and describes the problem that we saw during testing. Created by Person Name
'),
- $title_message,
+ 'SC-1000 : Some kind of issue text that is kind of long and describes the ' .
+ 'problem that we saw during testing. (Person Name) ' .
+ '(https://somecompany.atlassian.net/browse/SC-2169)',
'Title, link, and creator');
is(prettify_hipchat('Type:
Bug '),
'Type: Bug',
--
cgit v1.2.3