mirror of
				https://github.com/duke-git/lancet.git
				synced 2025-10-31 10:46:24 +08:00 
			
		
		
		
	feat: add IsZipFile
This commit is contained in:
		| @@ -246,3 +246,10 @@ func TestCurrentPath(t *testing.T) { | ||||
| 	absPath := CurrentPath() | ||||
| 	t.Log(absPath) | ||||
| } | ||||
|  | ||||
| func TestIsZipFile(t *testing.T) { | ||||
| 	assert := internal.NewAssert(t, "TestIsZipFile") | ||||
|  | ||||
| 	assert.Equal(false, IsZipFile("./file.go")) | ||||
| 	assert.Equal(true, IsZipFile("./test/file.go.zip")) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dudaodong
					dudaodong