package Ġcom . p interest . kt lint . rule set . standard . import ordering Ċ Ċ import Ġcom . p interest . kt lint . core . api . Editor Config Properties Ċ import Ġcom . p interest . kt lint . core . api . Feature In Alpha State Ċ import Ġcom . p interest . kt lint . rule set . standard . Import Ordering Rule Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ @ Opt In ( Feature In Alpha State :: class ) Ċ class ĠImport Ordering Editor config Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` import Ġordering Ġgets Ġwritten Ġcorrectly Ġto Ġeditor config `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġproperties : ĠEditor Config Properties Ġ= Ġempty Map () ĊĠĠĠĠĠĠĠ Ġval Ġrule Ġ= ĠImport Ordering Rule () ĊĠĠĠĠĠĠĠ Ġwith ( rule ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġraw Ġ= Ġproperties . write Editor Config Property ( Import Ordering Rule . idea Imports Layout Property , Ġfalse ) ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( raw ). isEqualTo (" *, java . **, javax . **, kotlin . **, ^ ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ