fix(test): update error code for empty input case
This commit is contained in:
		
					parent
					
						
							
								5b8009d9e6
							
						
					
				
			
			
				commit
				
					
						be5e272af5
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ func PrintString(str string) (err error) {
 | 
			
		|||
	if str == "" {
 | 
			
		||||
		return CustomError{
 | 
			
		||||
			Message: "Input is empty",
 | 
			
		||||
			Code:    "some code",
 | 
			
		||||
			Code:    "Code 5",
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue