File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,12 +116,12 @@ mod test_change {
116116 fn it_can_contain_spaces_in_package_names ( ) {
117117 let change = Change :: from_str (
118118 UniqueId :: normalize ( "a change" ) ,
119- r# "---
119+ r"---
120120package name: patch
121121package name 2: minor
122122---
123123This is a summary
124- "# ,
124+ " ,
125125 )
126126 . unwrap ( ) ;
127127 assert_eq ! (
@@ -137,12 +137,12 @@ This is a summary
137137 fn it_can_contain_spaces_in_change_types ( ) {
138138 let change = Change :: from_str (
139139 UniqueId :: normalize ( "a change" ) ,
140- r# "---
140+ r"---
141141package: custom change type
142142package name 2: something custom
143143---
144144This is a summary
145- "# ,
145+ " ,
146146 )
147147 . unwrap ( ) ;
148148 assert_eq ! (
@@ -164,9 +164,9 @@ This is a summary
164164 fn it_can_have_an_empty_summary ( ) {
165165 let change = Change :: from_str (
166166 UniqueId :: normalize ( "a change" ) ,
167- r# "---
167+ r"---
168168package: patch
169- ---"# ,
169+ ---" ,
170170 )
171171 . unwrap ( ) ;
172172 assert_eq ! ( change. summary, "" ) ;
You can’t perform that action at this time.
0 commit comments