mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fixed individual markdown tests. (#15802)
This commit is contained in:
		@@ -269,6 +269,9 @@ Here is a simple footnote,[^1] and here is a longer one.[^bignote]
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func TestTotal_RenderWiki(t *testing.T) {
 | 
					func TestTotal_RenderWiki(t *testing.T) {
 | 
				
			||||||
 | 
						setting.AppURL = AppURL
 | 
				
			||||||
 | 
						setting.AppSubURL = AppSubURL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	answers := testAnswers(util.URLJoin(AppSubURL, "wiki/"), util.URLJoin(AppSubURL, "wiki", "raw/"))
 | 
						answers := testAnswers(util.URLJoin(AppSubURL, "wiki/"), util.URLJoin(AppSubURL, "wiki", "raw/"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	for i := 0; i < len(sameCases); i++ {
 | 
						for i := 0; i < len(sameCases); i++ {
 | 
				
			||||||
@@ -305,6 +308,9 @@ func TestTotal_RenderWiki(t *testing.T) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func TestTotal_RenderString(t *testing.T) {
 | 
					func TestTotal_RenderString(t *testing.T) {
 | 
				
			||||||
 | 
						setting.AppURL = AppURL
 | 
				
			||||||
 | 
						setting.AppSubURL = AppSubURL
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	answers := testAnswers(util.URLJoin(AppSubURL, "src", "master/"), util.URLJoin(AppSubURL, "raw", "master/"))
 | 
						answers := testAnswers(util.URLJoin(AppSubURL, "src", "master/"), util.URLJoin(AppSubURL, "raw", "master/"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	for i := 0; i < len(sameCases); i++ {
 | 
						for i := 0; i < len(sameCases); i++ {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user