From 2030fd353746d4dc9691ad3e8db1d00e6a576eb4 Mon Sep 17 00:00:00 2001
From: marihachi <marihachi0620@gmail.com>
Date: Thu, 15 Apr 2021 14:50:21 +0900
Subject: [PATCH] add test

---
 test/parser.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/parser.ts b/test/parser.ts
index f277ec8..9d409bb 100644
--- a/test/parser.ts
+++ b/test/parser.ts
@@ -426,6 +426,12 @@ describe('FullParser', () => {
 
 	describe('hashtag', () => {
 		it('basic', () => {
+			const input = '#abc';
+			const output = [HASHTAG('abc')];
+			assert.deepStrictEqual(mfm.parse(input), output);
+		});
+
+		it('basic 2', () => {
 			const input = 'before #abc after';
 			const output = [TEXT('before '), HASHTAG('abc'), TEXT(' after')];
 			assert.deepStrictEqual(mfm.parse(input), output);
-- 
GitLab