go: enable running certain tests in parallel
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-29 22:28:17 +02:00
parent 5e6f02a843
commit c09507658a
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -11,6 +11,8 @@
)
func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
t.Parallel()
want := GetShortVersion()
fData, err := os.ReadFile("../flake.nix")
@ -26,6 +28,8 @@ func TestNixFlake_GosrcVersionStringEquivalence(t *testing.T) {
}
func TestVersionStringFormat(t *testing.T) {
t.Parallel()
v := version
// this expression matches the format of "vX.Y.Z" where {X,Y,Z} are digits
// (such as 0 or 123)