Add: parallel on 2 unit tests

This commit is contained in:
Yoann La Cancellera
2023-11-21 18:33:37 +01:00
committed by Sveta Smirnova
parent aac8896e2f
commit d6d4d30283
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import (
) )
func TestTransitionSeparator(t *testing.T) { func TestTransitionSeparator(t *testing.T) {
t.Parallel()
tests := []struct { tests := []struct {
keys []string keys []string
oldctxs, ctxs map[string]types.LogCtx oldctxs, ctxs map[string]types.LogCtx

View File

@@ -5,6 +5,7 @@ import (
) )
func TestFileType(t *testing.T) { func TestFileType(t *testing.T) {
t.Parallel()
tests := []struct { tests := []struct {
inputline string inputline string
inputoperator bool inputoperator bool