aboutsummaryrefslogtreecommitdiff
path: root/internal/testutil/testutil_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testutil/testutil_test.go')
-rw-r--r--internal/testutil/testutil_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/testutil/testutil_test.go b/internal/testutil/testutil_test.go
new file mode 100644
index 00000000..5a6c1486
--- /dev/null
+++ b/internal/testutil/testutil_test.go
@@ -0,0 +1,15 @@
+// Copyright 2022 The Gogs Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package testutil
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+)
+
+func TestInTest(t *testing.T) {
+ assert.True(t, InTest)
+}