mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 10:08:37 +08:00 
			
		
		
		
	ran npm run format
				
					
				
			This commit is contained in:
		
							parent
							
								
									3471f851f6
								
							
						
					
					
						commit
						24a04b5104
					
				|  | @ -45,26 +45,68 @@ describe('git-version tests', () => { | ||||||
|   }) |   }) | ||||||
| 
 | 
 | ||||||
|   it('sparse checkout', async () => { |   it('sparse checkout', async () => { | ||||||
|     expect(new GitVersion('1.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |     expect( | ||||||
|     expect(new GitVersion('1.99').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |       new GitVersion('1.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('2.24').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('2.24.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |     expect( | ||||||
|     expect(new GitVersion('2.24.1').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |       new GitVersion('1.99').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('2.24.9').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeFalsy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('2.25').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     expect( | ||||||
|     expect(new GitVersion('2.25.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |       new GitVersion('2.24').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('2.25.1').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('2.25.9').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     expect( | ||||||
|     expect(new GitVersion('2.26').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |       new GitVersion('2.24.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('2.26.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('2.26.1').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     expect( | ||||||
|     expect(new GitVersion('2.26.9').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |       new GitVersion('2.24.1').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('2.99').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('3.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     expect( | ||||||
|     expect(new GitVersion('3.99').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |       new GitVersion('2.24.9').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('4.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     ).toBeFalsy() | ||||||
|     expect(new GitVersion('4.99').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     expect( | ||||||
|     expect(new GitVersion('5.0').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |       new GitVersion('2.25').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|     expect(new GitVersion('5.99').checkMinimum(MinimumGitSparseCheckoutVersion)).toBeTruthy() |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.25.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.25.1').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.25.9').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.26').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.26.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.26.1').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.26.9').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('2.99').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('3.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('3.99').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('4.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('4.99').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('5.0').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|  |     expect( | ||||||
|  |       new GitVersion('5.99').checkMinimum(MinimumGitSparseCheckoutVersion) | ||||||
|  |     ).toBeTruthy() | ||||||
|   }) |   }) | ||||||
| }) | }) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 John Wesley Walker III
						John Wesley Walker III