void () { PreferencesRegistry preferencesRegistry = loadPreferences(TestUtil.MARKDOWN_TEXTMATE); Preferences preferences = mergeAll(preferencesRegistry.getPreferences(TestUtil.scopeFromString("text.html.markdown markup.raw"))); assertEquals(newHashSet( new TextMateAutoClosingPair("{", "}", null), new TextMateAutoClosingPair("(", ")", null), new TextMateAutoClosingPair("\"", "\"", null) ), preferences.getSmartTypingPairs()); }