kevincobain2000 / gobrew

Go version manager, written in Go. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
https://medium.com/web-developer/go-version-manager-gobrew-c8750157dfe6
MIT License
358 stars 24 forks source link

Tests 06122023 #160

Closed juev closed 7 months ago

juev commented 7 months ago

On my MacBook, taking a symlink from the current version returns the directory in the private directory. As a result, the tests did not work. Corrected the function to take the current version of gobrew.

Added tests for the function of taking the current version.

The temporary directory is generated directly in the test library. You need to use it so that the directory is automatically deleted upon completion of the current test.

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 69.3 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 203 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 69.3 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 203 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 69.3 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 202 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 68.9 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 203 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 68.9 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 203 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 69.3 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 201 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

github-actions[bot] commented 7 months ago

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-06122023
coverage 65.7 % 69.3 % +
go-binary-size 5.8k KB 5.8k KB -
go-mod-dependencies 28 28
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 102 sec 204 sec +

Generated by Cover It Up. View full report https://coveritup.app/kevincobain2000/gobrew

kevincobain2000 commented 7 months ago

Thanks! Good to merge and push the tag!

kevincobain2000 commented 7 months ago

merged and pushed tag v1.10.0