@@ -63,7 +63,7 @@ describe(`Rule '${ruleName}'`, () => {
6363 expect . objectContaining ( {
6464 code : ruleName ,
6565 message :
66- 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: object. Did you mean object?).' ,
66+ 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: ` object` . Did you mean ` object` ?).' ,
6767 path : [ 'components' , 'messages' , 'aMessage' , 'headers' , 'type' ] ,
6868 severity : rule . severity ,
6969 } ) ,
@@ -98,7 +98,7 @@ describe(`Rule '${ruleName}'`, () => {
9898 expect . objectContaining ( {
9999 code : ruleName ,
100100 message :
101- 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: object. Did you mean object?).' ,
101+ 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: ` object` . Did you mean ` object` ?).' ,
102102 path : [ 'components' , 'messageTraits' , 'aTrait' , 'headers' , 'type' ] ,
103103 severity : rule . severity ,
104104 } ) ,
@@ -155,7 +155,7 @@ describe(`Rule '${ruleName}'`, () => {
155155 expect . objectContaining ( {
156156 code : ruleName ,
157157 message :
158- 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: object. Did you mean object?).' ,
158+ 'Headers schema type should be `object` (`type` property should be equal to one of the allowed values: ` object` . Did you mean ` object` ?).' ,
159159 path : [ 'channels' , 'users/{userId}/signedUp' , property , 'message' , 'headers' , 'type' ] ,
160160 severity : rule . severity ,
161161 } ) ,
0 commit comments