mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Refactor RepoBranchTagSelector (#32681)
This commit is contained in:
1 parent
def13ece7c
commit
e3e32605a1
8 files changed
+275
-288
No files matched your search
Vendored
+1
-1
@@ -43,7 +43,7 @@ func TestTest(t *testing.T) {
|
||||
elapsed, err := Test()
|
||||
assert.NoError(t, err)
|
||||
// mem cache should take from 300ns up to 1ms on modern hardware ...
|
||||
assert.Less(t, elapsed, SlowCacheThreshold)
|
||||
assert.Less(t, elapsed, time.Millisecond)
|
||||
}
|
||||
|
||||
func TestGetCache(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user