1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00

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
This commit is contained in:
Valerio Bozzolan 2024-03-25 09:27:53 +01:00
parent d42b3eb0b1
commit 9ebe856219

View file

@ -30,9 +30,7 @@ Argv: ()
Content: (content)
Argv: (x=y)
<div class="remarkup-interpreter-error">No interpreter found: phutil_fake_test_block_interpreter</div>
<p>phutil_fake_test_block_interpreter {{{ content }}}</p>
~~~~~~~~~~
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 }}}