package Ġde . f ay ard Ċ Ċ import Ġde . f ay ard . dependencies . internal . Dependency Mapping Ċ import Ġde . f ay ard . dependencies . internal . get Artifact Name To Split ties Constant Mapping Ċ import Ġio . kot lint est . matchers . have Size Ċ import Ġio . kot lint est . matchers . with Cl ue Ċ import Ġio . kot lint est . should Ċ import Ġio . kot lint est . specs . Free Spec Ċ import Ġjava . io . File Ċ import Ġjava . util .* Ċ Ċ val Ġresources : ĠFile Ġ= ĠFile (". "). absolute File . resolve (" src / test / resources ") Ċ Ċ class ĠNon Regression : ĠFree Spec ({ ĊĊĠĠĠ Ġ" We Ġshould Ġnever Ġremove Ġa Ġproperty " Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexisting Properties Ġ= Ġresources . resolve (" dependencies - mapping - validated . properties ") ĊĠĠĠĠĠĠĠ Ġval Ġreceived Properties Ġ= Ġresources . resolve (" dependencies - mapping - received . properties ") ĊĊĠĠĠĠĠĠĠ Ġval Ġexisting Mapping Ġ= Ġexisting Properties . read Lines (). map NotNull Ġ{ ĠDependency Mapping . from Line ( it ) Ġ} ĊĠĠĠĠĠĠĠ Ġval Ġreceived Mapping Ġ= Ġget Artifact Name To Split ties Constant Mapping () ĊĠĠĠĠĠĠĠ Ġreceived Properties . write Text ( received Mapping . join ToString ("\ n ")) ĊĊĠĠĠĠĠĠĠ Ġval Ġbreaking Changes Ġ= Ġexisting Mapping Ġ- Ġreceived Mapping ĊĠĠĠĠĠĠĠ Ġwith Cl ue (" diff Ġ- u Ġ${ existing Properties . absolute Path } Ġ Ġ${ received Properties . absolute Path }") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġbreaking Changes Ġshould Ġhave Size ( 0 ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġreceived Properties . copy To ( existing Properties , Ġoverwrite Ġ= Ġtrue ) ĊĠĠĠĠĠĠĠ Ġreceived Properties . delete On Exit () ĊĠĠĠ Ġ} ĊĊ Ċ }) ĊĊ