Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/helper/duration/duration_test.go')
-rw-r--r--internal/helper/duration/duration_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/helper/duration/duration_test.go b/internal/helper/duration/duration_test.go
new file mode 100644
index 000000000..9ca1830dc
--- /dev/null
+++ b/internal/helper/duration/duration_test.go
@@ -0,0 +1,15 @@
+package duration
+
+import (
+ "encoding"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+)
+
+func TestDuration(t *testing.T) {
+ t.Parallel()
+
+ require.Implements(t, (*encoding.TextMarshaler)(nil), new(Duration))
+ require.Implements(t, (*encoding.TextUnmarshaler)(nil), new(Duration))
+}