From 497deff0b054536a0a704d76b96726f533a32831 Mon Sep 17 00:00:00 2001 From: Patrick Connolly Date: Mon, 26 Nov 2018 12:59:01 +0800 Subject: [PATCH] Made gofmt happy. --- bridge/slack/helpers_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bridge/slack/helpers_test.go b/bridge/slack/helpers_test.go index b5b26ea1..26191e07 100644 --- a/bridge/slack/helpers_test.go +++ b/bridge/slack/helpers_test.go @@ -12,12 +12,12 @@ func TestExtractTopicOrPurpose(t *testing.T) { wantChangeType string wantOutput string }{ - "success - topic type": {"@someone set channel topic: foo bar", "topic", "foo bar"}, + "success - topic type": {"@someone set channel topic: foo bar", "topic", "foo bar"}, "success - purpose type": {"@someone set channel purpose: foo bar", "purpose", "foo bar"}, - "success - one line": {"@someone set channel topic: foo bar", "topic", "foo bar"}, - "success - multi-line": {"@someone set channel topic: foo\nbar", "topic", "foo\nbar"}, - "success - cleared": {"@someone cleared channel topic", "topic", ""}, - "error - unhandled": {"some unmatched message", "unknown", ""}, + "success - one line": {"@someone set channel topic: foo bar", "topic", "foo bar"}, + "success - multi-line": {"@someone set channel topic: foo\nbar", "topic", "foo\nbar"}, + "success - cleared": {"@someone cleared channel topic", "topic", ""}, + "error - unhandled": {"some unmatched message", "unknown", ""}, } for name, tc := range testcases {