diff options
author | BlakeMScurr <blakemscurr@gmail.com> | 2018-11-30 13:47:14 +1300 |
---|---|---|
committer | BlakeMScurr <blakemscurr@gmail.com> | 2018-11-30 13:47:14 +1300 |
commit | 181f91d2efa816bddfb296971372c1cb675a370e (patch) | |
tree | 0cb99e1ca08d9ab7503b16d97aa4c92936dbf103 /pkg/i18n | |
parent | 643cdd3461007fafb1fd9284a65b54f36e55ddac (diff) |
Add full stops to new comments.
Diffstat (limited to 'pkg/i18n')
-rw-r--r-- | pkg/i18n/i18n_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/i18n/i18n_test.go b/pkg/i18n/i18n_test.go index 7ad5670d9..0739d6dc6 100644 --- a/pkg/i18n/i18n_test.go +++ b/pkg/i18n/i18n_test.go @@ -16,12 +16,13 @@ func getDummyLog() *logrus.Entry { log.Out = ioutil.Discard return log.WithField("test", "test") } -// TestNewLocalizer is a function + +// TestNewLocalizer is a function. func TestNewLocalizer(t *testing.T) { assert.NotNil(t, NewLocalizer(getDummyLog())) } -// TestDetectLanguage is a function +// TestDetectLanguage is a function. func TestDetectLanguage(t *testing.T) { type scenario struct { langDetector func() (string, error) @@ -48,7 +49,7 @@ func TestDetectLanguage(t *testing.T) { } } -// TestLocalizer is a function +// TestLocalizer is a function. func TestLocalizer(t *testing.T) { type scenario struct { userLang string |