summaryrefslogtreecommitdiffstats
path: root/app/post_test.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2018-02-12 08:58:38 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2018-02-12 08:58:38 -0500
commit87fb19b8279c86c72ffec623e55b80ce35b7d64f (patch)
treed5f026e1cf9a7359712667085553152dfc7e7e03 /app/post_test.go
parente2b5f9217f55074e4a64c90f4121803cd68f0b97 (diff)
downloadchat-87fb19b8279c86c72ffec623e55b80ce35b7d64f.tar.gz
chat-87fb19b8279c86c72ffec623e55b80ce35b7d64f.tar.bz2
chat-87fb19b8279c86c72ffec623e55b80ce35b7d64f.zip
Fixed typo in unit test
Diffstat (limited to 'app/post_test.go')
-rw-r--r--app/post_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/post_test.go b/app/post_test.go
index 62098c865..f5a5a23cb 100644
--- a/app/post_test.go
+++ b/app/post_test.go
@@ -336,7 +336,7 @@ func TestMakeOpenGraphURLsAbsolute(t *testing.T) {
t.Fatalf("incorrect image url, expected %v, got %v", tc.ImageURL, og.Images[0].URL)
}
} else if tc.ImageURL != "" {
- t.Fatal("missing image url, expected %v, got nothing", tc.ImageURL)
+ t.Fatalf("missing image url, expected %v, got nothing", tc.ImageURL)
}
})
}