DefDescriptor<StyleDef> desc1 = addStyleDef("@font-face {/* @allowDuplicate */ font-family: Custom1; font-weight:bold; src: url(Custom1.woff)}");
DefDescriptor<StyleDef> desc2 = addStyleDef("@font-face {/* @allowDuplicate */ font-family: Custom1; font-weight:bold; src: url(Custom1.woff)}");
StyleDefCSSFormatAdapter cssFormatAdapter = new StyleDefCSSFormatAdapter();
cssFormatAdapter.writeCollection(Lists.newArrayList(desc1.getDef(), desc2.getDef()), out);
// no error
}
public void testSamePropsOnlyFirstHasAnnotation() throws Exception {
prepare(new DuplicateFontFacePlugin(true, false));