From 0a28798d548bca6f57fb2e38be68815c62729539 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Sat, 22 Apr 2017 12:44:39 +0900 Subject: [PATCH] modify: add test case for underscore --- tests/lib/markdown-text-helper-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lib/markdown-text-helper-test.js b/tests/lib/markdown-text-helper-test.js index 1b3e3f3a..dcec31cc 100644 --- a/tests/lib/markdown-text-helper-test.js +++ b/tests/lib/markdown-text-helper-test.js @@ -32,6 +32,9 @@ test(t => { // Emphasis ['~~', ''], ['~~text~~', 'text'], + // Don't remove underscore + ['`MY_TITLE`', 'MY_TITLE'], + ['MY_TITLE', 'MY_TITLE'], ] testCases.forEach(testCase => {