mirror of
				https://github.com/actions/setup-java.git
				synced 2025-10-31 06:20:53 +00:00 
			
		
		
		
	Fix.
This commit is contained in:
		
					parent
					
						
							
								596a6da241
							
						
					
				
			
			
				commit
				
					
						c1a589c5b6
					
				
			
		
					 7078 changed files with 1882834 additions and 319 deletions
				
			
		
							
								
								
									
										16
									
								
								node_modules/optimist/test/short.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								node_modules/optimist/test/short.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| var optimist = require('../index'); | ||||
| var test = require('tap').test; | ||||
| 
 | ||||
| test('-n123', function (t) { | ||||
|     t.plan(1); | ||||
|     var parse = optimist.parse([ '-n123' ]); | ||||
|     t.equal(parse.n, 123); | ||||
| }); | ||||
| 
 | ||||
| test('-123', function (t) { | ||||
|     t.plan(3); | ||||
|     var parse = optimist.parse([ '-123', '456' ]); | ||||
|     t.equal(parse['1'], true); | ||||
|     t.equal(parse['2'], true); | ||||
|     t.equal(parse['3'], 456); | ||||
| }); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue