void () { CodeInsightSettings settings = CodeInsightSettings.getInstance(); boolean oldValue = settings.AUTOINSERT_PAIR_QUOTE; try { settings.AUTOINSERT_PAIR_QUOTE = false; doTest("<caret>", "md_hack", "\"", "\"<caret>"); } finally { settings.AUTOINSERT_PAIR_QUOTE = oldValue; } }