summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2013-10-03 15:43:35 (GMT)
committerKevin Smith <git@kismith.co.uk>2013-10-03 15:43:35 (GMT)
commitec8adadffe97fe4c19567bb71f25b702e99770a1 (patch)
tree315026eddffd79174eb0eae3f52184edc1405940 /Swift/Controllers/UnitTest
parent29ac9bd23fd4b027e9e1afc3d46b89b59bf15dcc (diff)
downloadswift-contrib-ec8adadffe97fe4c19567bb71f25b702e99770a1.zip
swift-contrib-ec8adadffe97fe4c19567bb71f25b702e99770a1.tar.bz2
Now use semicolons for the listing of a pair of tabs with messages in chats.
This is to support using commas for listing multiple participants in a single chat. Change-Id: Ic41f4e4db707411847405e96c4fae32973b6ac69
Diffstat (limited to 'Swift/Controllers/UnitTest')
-rw-r--r--Swift/Controllers/UnitTest/ChatMessageSummarizerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/Controllers/UnitTest/ChatMessageSummarizerTest.cpp b/Swift/Controllers/UnitTest/ChatMessageSummarizerTest.cpp
index 985352a..dd2a8e5 100644
--- a/Swift/Controllers/UnitTest/ChatMessageSummarizerTest.cpp
+++ b/Swift/Controllers/UnitTest/ChatMessageSummarizerTest.cpp
@@ -72,7 +72,7 @@ public:
unreads.push_back(UnreadPair("Bob", 3));
unreads.push_back(UnreadPair("Betty", 7));
ChatMessageSummarizer summary;
- CPPUNIT_ASSERT_EQUAL(string("Bob (3), Betty (7)"), summary.getSummary(current, unreads));
+ CPPUNIT_ASSERT_EQUAL(string("Bob (3); Betty (7)"), summary.getSummary(current, unreads));
}
void testCurrentNoneOtherCount() {
@@ -82,7 +82,7 @@ public:
unreads.push_back(UnreadPair("Bob", 0));
unreads.push_back(UnreadPair("Betty", 7));
ChatMessageSummarizer summary;
- CPPUNIT_ASSERT_EQUAL(string("Bob, Betty (7)"), summary.getSummary(current, unreads));
+ CPPUNIT_ASSERT_EQUAL(string("Bob; Betty (7)"), summary.getSummary(current, unreads));
}
void testCurrentNoneOthersCount() {