mirror of
				https://github.com/taigrr/yq
				synced 2025-01-18 04:53:17 -08:00 
			
		
		
		
	Added acceptance test
This commit is contained in:
		
							parent
							
								
									0c5188acb5
								
							
						
					
					
						commit
						404746ab22
					
				| @ -1,3 +1,13 @@ | ||||
| #!/bin/bash | ||||
| 
 | ||||
| gofmt -w . | ||||
| golint | ||||
| go test | ||||
| 
 | ||||
| # acceptance test | ||||
| X=$(go run yaml.go  sample.yaml b.c) | ||||
| 
 | ||||
| if [ $X != 2 ] | ||||
|   then | ||||
| 	echo "Failed acceptance test: expected 2 but was $X" | ||||
| fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user