fixed format for c_expected with getFormat