feat: expected out for asciifile check
This commit is contained in:
		
							parent
							
								
									263f2e6387
								
							
						
					
					
						commit
						dc13cbecb0
					
				|  | @ -1,37 +1,37 @@ | ||||||
| [ | 
 | ||||||
|     { | [{ | ||||||
|         "name of check": "RepoSize", |   "name of check" : "RepoSize", | ||||||
|         "stdout": "Checking repository size: OK", |   "stdout" : "Checking repository size: OK", | ||||||
|         "exit code": 0, |   "exit code" : 0, | ||||||
|         "stderr": "", |   "stderr" : "", | ||||||
|         "errorLog": null |   "errorLog" : null | ||||||
|     }, | }, | ||||||
|     { |  { | ||||||
|         "name of check": "forbiddenFile", |    "name of check" : "forbiddenFile", | ||||||
|         "stdout": "Checking forbidden files: OK", |    "stdout" : "Checking forbidden files: OK", | ||||||
|         "exit code": 0, |    "exit code" : 0, | ||||||
|         "stderr": "", |    "stderr" : "", | ||||||
|         "errorLog": null |    "errorLog" : null | ||||||
|     }, |  }, | ||||||
|     { |  { | ||||||
|         "name of check": "metaFile", |    "name of check" : "metaFile", | ||||||
|         "stdout": "Checking the existence of meta file: OK", |    "stdout" : "Checking the existence of meta file: OK", | ||||||
|         "exit code": 0, |    "exit code" : 0, | ||||||
|         "stderr": "", |    "stderr" : "", | ||||||
|         "errorLog": null |    "errorLog" : null | ||||||
|     }, |  }, | ||||||
|     { |  { | ||||||
|         "name of check": "NonAsciiFiles", |    "name of check" : "NonAsciiFiles", | ||||||
|         "stdout": "Checking for non-ascii files: OK", |    "stdout" : "Checking for non-ascii files: Failed", | ||||||
|         "exit code": 0, |    "exit code" : 1, | ||||||
|         "stderr": "", |    "stderr" : "Non-ASCII characters found in the following " | ||||||
|         "errorLog": null |               "files:\n\texamples/repohealth/asciifile/nonascii.txt", | ||||||
|     }, |    "errorLog" : null | ||||||
|     { |  }, | ||||||
|         "name of check": "NonAsciiMsg", |  { | ||||||
|         "stdout": "Checking for non-ASCII characters in commit message: OK", |    "name of check" : "NonAsciiMsg", | ||||||
|         "exit code": 0, |    "stdout" : "Checking for non-ASCII characters in commit message: OK", | ||||||
|         "stderr": "", |    "exit code" : 0, | ||||||
|         "errorLog": null |    "stderr" : "", | ||||||
|     } |    "errorLog" : null | ||||||
| ] |  }] | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								stdin.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								stdin.sh
									
									
									
									
									
								
							|  | @ -1,3 +1,3 @@ | ||||||
| #!bash | #!bash | ||||||
| 
 | 
 | ||||||
| ./build/healthcheck -root=./examples/repohealth/asciifile -meta=readme -whitelist=.*\.md -whitelist=.*\.json -whitelist=.*\.sh -whitelist=.git.* -whitelist=.*\.txt | ./build/healthcheck -root=./examples/repohealth/asciifile -whitelist=.*\.md -whitelist=.*\.json -whitelist=.*\.sh -whitelist=.git.* -whitelist=.*\.txt | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 zzjc1234
						zzjc1234