@@ -979,7 +979,7 @@ func TestBuildHTTPRoute(t *testing.T) {
979
979
},
980
980
Conditions : []conditions.Condition {
981
981
conditions .NewRouteUnsupportedField ("There are rules with unsupported fields configurations: " +
982
- "spec.rules[0].name: Forbidden: NGINX Gateway Fabric does not support SectionName field at the moment" ),
982
+ "spec.rules[0].name: Forbidden: NGINX Gateway Fabric does not support \" SectionName\" field at the moment" ),
983
983
},
984
984
},
985
985
name : "valid route with unsupported field" ,
@@ -1783,7 +1783,7 @@ func TestProcessHTTPRouteRules_UnsupportedFields(t *testing.T) {
1783
1783
expectedValid : true ,
1784
1784
expectedConds : []conditions.Condition {
1785
1785
conditions .NewRouteUnsupportedField ("There are rules with unsupported fields configurations: spec.rules[0].name: " +
1786
- "Forbidden: NGINX Gateway Fabric does not support SectionName field at the moment" ),
1786
+ "Forbidden: NGINX Gateway Fabric does not support \" SectionName\" field at the moment" ),
1787
1787
},
1788
1788
expectedWarns : 1 ,
1789
1789
},
@@ -1804,11 +1804,11 @@ func TestProcessHTTPRouteRules_UnsupportedFields(t *testing.T) {
1804
1804
expectedValid : true ,
1805
1805
expectedConds : []conditions.Condition {
1806
1806
conditions .NewRouteUnsupportedField ("There are rules with unsupported fields configurations: " +
1807
- "[spec.rules[0].name: Forbidden: NGINX Gateway Fabric does not support SectionName field at the moment, " +
1808
- "spec.rules[0].timeouts: Forbidden: NGINX Gateway Fabric does not support \" HTTPRouteTimeouts \" " +
1809
- "field at the moment, spec.rules[0].retry: Forbidden: NGINX Gateway Fabric does not support " +
1810
- "\" HTTPRouteRetry\" field at the moment, spec.rules[0].sessionPersistence: Forbidden: NGINX Gateway " +
1811
- "Fabric does not support \" SessionPersistence\" field at the moment]" ),
1807
+ "[spec.rules[0].name: Forbidden: NGINX Gateway Fabric does not support \" SectionName\" " +
1808
+ "field at the moment, spec.rules[0].timeouts: Forbidden: NGINX Gateway Fabric does not support " +
1809
+ "\" HTTPRouteTimeouts \" field at the moment, spec.rules[0].retry: Forbidden: NGINX Gateway Fabric " +
1810
+ "does not support \" HTTPRouteRetry\" field at the moment, spec.rules[0].sessionPersistence: Forbidden: " +
1811
+ "NGINX Gateway Fabric does not support \" SessionPersistence\" field at the moment]" ),
1812
1812
},
1813
1813
expectedWarns : 4 ,
1814
1814
},
0 commit comments