diff --git a/test/parser.ts b/test/parser.ts
index ab9b4d8520dcbf2c62eff35ea040027fc150b63a..14666a3dc88e4952a9e55cfe685202cc10e10a18 100644
--- a/test/parser.ts
+++ b/test/parser.ts
@@ -756,6 +756,28 @@ describe('FullParser', () => {
 			];
 			assert.deepStrictEqual(mfm.parse(input), output);
 		});
+
+		it('with brackets', () => {
+			const input = '[foo](https://example.com/foo(bar))';
+			const output = [
+				LINK(false, 'https://example.com/foo(bar)', [
+					TEXT('foo')
+				]),
+			];
+			assert.deepStrictEqual(mfm.parse(input), output);
+		});
+
+		it('with parent brackets', () => {
+			const input = '([foo](https://example.com/foo(bar)))';
+			const output = [
+				TEXT('('),
+				LINK(false, 'https://example.com/foo(bar)', [
+					TEXT('foo')
+				]),
+				TEXT(')'),
+			];
+			assert.deepStrictEqual(mfm.parse(input), output);
+		});
 	});
 
 	describe('fn v1', () => {