go: enable running certain tests in parallel
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5e6f02a843
commit
c09507658a
@ -11,6 +11,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
|
func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
want := GetShortVersion()
|
want := GetShortVersion()
|
||||||
|
|
||||||
fData, err := os.ReadFile("../flake.nix")
|
fData, err := os.ReadFile("../flake.nix")
|
||||||
@ -26,6 +28,8 @@ func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestVersionStringFormat(t *testing.T) {
|
func TestVersionStringFormat(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
v := version
|
v := version
|
||||||
// this expression matches the format of "vX.Y.Z" where {X,Y,Z} are digits
|
// this expression matches the format of "vX.Y.Z" where {X,Y,Z} are digits
|
||||||
// (such as 0 or 123)
|
// (such as 0 or 123)
|
||||||
|
Loading…
Reference in New Issue
Block a user