void () { assertPrintResult("[IJ]-1-type-[IJ]-name=-[N]-", "type", "name", "\n"); assertPrintResult("[IJ]-1-type-[IJ]-name=-[N]--[N]-", "type", "name", "\n\n"); assertPrintResult("[IJ]-1-type-[IJ]-name=-[N]-abc", "type", "name", "\nabc"); assertPrintResult("[IJ]-1-type-[IJ]-name=abc-[N]-", "type", "name", "abc\n"); assertPrintResult("[IJ]-1-type-[IJ]-name=abc-[N]-def", "type", "name", "abc\ndef"); assertPrintResult("[IJ]-1-type-[IJ]-name=-[N]-abc-[N]-", "type", "name", "\nabc\n"); assertPrintResult("[IJ]-1-type-[IJ]-name=1-[N]-2-[N]-3-[N]--[N]-4-[N]--[N]-5-[N]--[N]-6", "type", "name", "1\n2\n\r3\n\n4\n\r\n5\n\n\r6"); }