@@ -10,6 +10,8 @@ import (
1010)
1111
1212func TestWindowsPathClassification_Success (t * testing.T ) {
13+ t .Parallel ()
14+
1315 tests := []struct {
1416 name string
1517 windowsPath string
@@ -46,6 +48,7 @@ func TestWindowsPathClassification_Success(t *testing.T) {
4648
4749 for _ , tt := range tests {
4850 t .Run (tt .name , func (t * testing.T ) {
51+ t .Parallel ()
4952 classification , err := ClassifyReference (tt .windowsPath )
5053 require .NoError (t , err )
5154 require .NotNil (t , classification )
@@ -60,6 +63,8 @@ func TestWindowsPathClassification_Success(t *testing.T) {
6063}
6164
6265func TestWindowsPathJoining_Success (t * testing.T ) {
66+ t .Parallel ()
67+
6368 tests := []struct {
6469 name string
6570 base string
@@ -87,8 +92,8 @@ func TestWindowsPathJoining_Success(t *testing.T) {
8792 {
8893 name : "windows path with absolute relative path" ,
8994 base : "C:\\ path\\ to\\ schemas\\ user.json" ,
90- relative : "D:\\ other \\ path\\ schema.json" ,
91- expected : "D:\\ other \\ path\\ schema.json" ,
95+ relative : "D:\\ some \\ path\\ schema.json" ,
96+ expected : "D:\\ some \\ path\\ schema.json" ,
9297 },
9398 {
9499 name : "windows path with fragment" ,
@@ -100,6 +105,7 @@ func TestWindowsPathJoining_Success(t *testing.T) {
100105
101106 for _ , tt := range tests {
102107 t .Run (tt .name , func (t * testing.T ) {
108+ t .Parallel ()
103109 classification , err := ClassifyReference (tt .base )
104110 require .NoError (t , err )
105111 require .NotNil (t , classification )
@@ -113,6 +119,8 @@ func TestWindowsPathJoining_Success(t *testing.T) {
113119}
114120
115121func TestWindowsPathJoinReference_Success (t * testing.T ) {
122+ t .Parallel ()
123+
116124 tests := []struct {
117125 name string
118126 base string
@@ -135,6 +143,7 @@ func TestWindowsPathJoinReference_Success(t *testing.T) {
135143
136144 for _ , tt := range tests {
137145 t .Run (tt .name , func (t * testing.T ) {
146+ t .Parallel ()
138147 result , err := JoinReference (tt .base , tt .relative )
139148 require .NoError (t , err )
140149 assert .Equal (t , tt .expected , result )
0 commit comments