testutil_test.go 300 B

12345678910111213141516
  1. // Copyright 2022 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package testutil
  5. import (
  6. "testing"
  7. "github.com/stretchr/testify/assert"
  8. )
  9. func TestInTest(t *testing.T) {
  10. assert.True(t, InTest)
  11. }