void () { addTest(".name__name2__name3__name4|bem", "<div class=\"name__name2__name3__name4\"></div>"); addTest(".name__name2__name3|bem", "<div class=\"name__name2__name3\"></div>"); addTest(".news(.title.-title(.-text))|bem", """ <div class="news"> <div class="title news__title"> <div class="title__text"></div> </div> </div>"""); }