File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ fn http_xml_consumer_with_examples_and_content_test() {
664664 Ok ( res) => {
665665 expect ! ( res. status( ) ) . to ( be_eq ( 200 ) ) ;
666666 expect ! ( res. headers( ) . get( "Content-Type" ) . unwrap( ) ) . to ( be_eq ( "application/xml" ) ) ;
667- expect ! ( res. text( ) . unwrap_or_default( ) ) . to ( be_equal_to ( "<?xml version='1.0'?><items><item><name>Item 1</name><price>10</price></item><item><name/ ><price/ ></item><item><name/ ><price/ ></item>Item list</items>" ) ) ;
667+ expect ! ( res. text( ) . unwrap_or_default( ) ) . to ( be_equal_to ( "<?xml version='1.0'?><items><item><name>Item 1</name><price>10</price></item><item><name>Item 1</name ><price>10</price ></item><item><name>Item 1</name ><price>10</price ></item>Item list</items>" ) ) ;
668668 } ,
669669 Err ( _) => {
670670 panic ! ( "expected 200 response but request failed" ) ;
You can’t perform that action at this time.
0 commit comments