From 9ebe85621919390a3e4daa56706993f203e02b2e Mon Sep 17 00:00:00 2001 From: Valerio Bozzolan Date: Mon, 25 Mar 2024 09:27:53 +0100 Subject: [PATCH] Update unit test of InterpreterBlockRule for "a {{{a}}}" Summary: This is supposed to render in plain text instead of crashing or giving an error, after D25415: a {{{a}}} The related unit test is updated accordingly. We have unnoticed this, because of the well-known bug T15500. Ref T15372 See D25415 Test Plan: This makes sense with the introduced functionality in D25415. Unit tests are happy again. Reviewers: O1 Blessed Committers, avivey Reviewed By: O1 Blessed Committers, avivey Subscribers: tobiaswiese, Matthew, Cigaryno Maniphest Tasks: T15372 Differential Revision: https://we.phorge.it/D25559 --- .../remarkup/__tests__/remarkup/interpreter-test.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/infrastructure/markup/remarkup/__tests__/remarkup/interpreter-test.txt b/src/infrastructure/markup/remarkup/__tests__/remarkup/interpreter-test.txt index 477f3eeea0..edbd49208c 100644 --- a/src/infrastructure/markup/remarkup/__tests__/remarkup/interpreter-test.txt +++ b/src/infrastructure/markup/remarkup/__tests__/remarkup/interpreter-test.txt @@ -30,9 +30,7 @@ Argv: () Content: (content) Argv: (x=y) - - -
No interpreter found: phutil_fake_test_block_interpreter
+

phutil_fake_test_block_interpreter {{{ content }}}

~~~~~~~~~~ Content: (content) Argv: (foo=bar) @@ -53,6 +51,4 @@ Argv: () Content: (content) Argv: (x=y) - - -(No interpreter found: phutil_fake_test_block_interpreter) +phutil_fake_test_block_interpreter {{{ content }}}