mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Add some Unit-Tests (#14500)
* fix url * modules/auth/pa: coverage: 40#.0% * modules/base coverage: 67.6% -> 89.9% * modules/cache coverage: 0% -> 12.0% * modules/convert coverage: 27.1% -> 29.7%
This commit is contained in:
		| @@ -17,8 +17,8 @@ func TestNaturalSortLess(t *testing.T) { | ||||
| 	test("v1.20.0", "v1.2.0", false) | ||||
| 	test("v1.20.0", "v1.29.0", true) | ||||
| 	test("v1.20.0", "v1.20.0", false) | ||||
| 	test("abc", "bcd", "abc" < "bcd") | ||||
| 	test("abc", "bcd", true) | ||||
| 	test("a-1-a", "a-1-b", true) | ||||
| 	test("2", "12", true) | ||||
| 	test("a", "ab", "a" < "ab") | ||||
| 	test("a", "ab", true) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user