diff options
-rw-r--r-- | models/unit_tests.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/models/unit_tests.go b/models/unit_tests.go index 9013fb9871..2b7f0d0151 100644 --- a/models/unit_tests.go +++ b/models/unit_tests.go @@ -7,6 +7,7 @@ package models import ( "fmt" "io/ioutil" + "math" "net/url" "os" "path/filepath" @@ -23,7 +24,7 @@ import ( ) // NonexistentID an ID that will never exist -const NonexistentID = 9223372036854775807 +const NonexistentID = int64(math.MaxInt64) // giteaRoot a path to the gitea root var giteaRoot string |