Please fill out the issue checklist below and provide ALL the requested information.
Describe the bug
A clear and concise description of what the bug is.
Unit test failing in Windows OS for archive.go file test cases
OS: Windows
Error details
--- FAIL: TestHandleZip (0.02s) --- FAIL: TestHandleZip/valid_jar (0.01s) archive_test.go:155: ExtractZip() (-want, +got) = bytes.Join({ - "package main\r", - "\r", - "import \"fmt\"\r", - "\r", - "func main() {\r", - "\tfmt.Println(\"hello world\")\r", - "}\r", + "package main", + "", + import "fmt", + "", + "func main() {", + fmt.Println("hello world"), + "}", "", }, "\n") --- FAIL: TestHandleZip/valid_zip (0.00s) archive_test.go:155: ExtractZip() (-want, +got) = bytes.Join({ - "package main\r", - "\r", - "import \"fmt\"\r", - "\r", - "func main() {\r", - "\tfmt.Println(\"hello world\")\r", - "}\r", + "package main", + "", + import "fmt", + "", + "func main() {", + fmt.Println("hello world"), + "}", "", }, "\n")
Expected behavior
A clear and concise description of what you expected to happen.
All unit test cases are successful
Steps to Reproduce
Steps to reproduce the behavior:
clone apps-cli-plugin code git clone https://github.com/vmware-tanzu/apps-cli-plugin in windows and run go test ./....
Screenshots
If applicable, add screenshots to help explain your problem.
Version (Apps plugin version, Version of K8s running on cluster)
Put the output of the following commad
tanzu version && tanzu apps version
Environment where the bug was observed (cloud, OS, etc)
Additional context & Relevant Debug Output (Logs, etc)
Add any other context about the problem here.
Please fill out the issue checklist below and provide ALL the requested information.
Describe the bug
A clear and concise description of what the bug is.
Unit test failing in Windows OS for archive.go file test cases
OS: Windows
Error details
--- FAIL: TestHandleZip (0.02s) --- FAIL: TestHandleZip/valid_jar (0.01s) archive_test.go:155: ExtractZip() (-want, +got) = bytes.Join({ - "package main\r", - "\r", - "import \"fmt\"\r", - "\r", - "func main() {\r", - "\tfmt.Println(\"hello world\")\r", - "}\r", + "package main", + "", +import "fmt", + "", + "func main() {", +fmt.Println("hello world"), + "}", "", }, "\n") --- FAIL: TestHandleZip/valid_zip (0.00s) archive_test.go:155: ExtractZip() (-want, +got) = bytes.Join({ - "package main\r", - "\r", - "import \"fmt\"\r", - "\r", - "func main() {\r", - "\tfmt.Println(\"hello world\")\r", - "}\r", + "package main", + "", +import "fmt", + "", + "func main() {", +fmt.Println("hello world"), + "}", "", }, "\n")Expected behavior
A clear and concise description of what you expected to happen.
All unit test cases are successful
Steps to Reproduce
Steps to reproduce the behavior:
clone apps-cli-plugin code git clone https://github.com/vmware-tanzu/apps-cli-plugin in windows and run go test ./....
Screenshots
If applicable, add screenshots to help explain your problem.
Version (Apps plugin version, Version of K8s running on cluster)
Put the output of the following commad
tanzu version && tanzu apps versionEnvironment where the bug was observed (cloud, OS, etc)
Additional context & Relevant Debug Output (Logs, etc)
Add any other context about the problem here.