1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-10-09 00:30:55 +00:00
Files
.github
assets
build
cmd
contrib
custom
docker
docs
integrations
models
modules
options
public
routers
services
archiver
auth
comments
externalaccount
forms
gitdiff
testdata
csv.go
csv_test.go
gitdiff.go
gitdiff_test.go
main_test.go
issue
lfs
mailer
mirror
pull
release
repository
webhook
wiki
snap
templates
tools
vendor
web_src
.air.conf
.changelog.yml
.drone.yml
.editorconfig
.eslintrc
.gitattributes
.gitignore
.golangci.yml
.ignore
.lgtm
.npmrc
.revive.toml
.stylelintrc
BSDmakefile
CHANGELOG.md
CONTRIBUTING.md
DCO
Dockerfile
Dockerfile.rootless
LICENSE
MAINTAINERS
Makefile
README.md
README_ZH.md
SECURITY.md
build.go
go.mod
go.sum
jest.config.js
main.go
package-lock.json
package.json
webpack.config.js
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff ()
* move git diff codes from models to services/gitdiff

* fix template

* fix test

* fix template
2019-09-05 22:20:09 -04:00

17 lines
330 B
Go

// Copyright 2019 The Gitea 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 gitdiff
import (
"path/filepath"
"testing"
"code.gitea.io/gitea/models"
)
func TestMain(m *testing.M) {
models.MainTest(m, filepath.Join("..", ".."))
}