From f1213edeadbf265045b607326b740119b8662d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulysse=20G=C3=A9rard?= Date: Tue, 17 Mar 2020 16:56:14 +0100 Subject: [PATCH] Update mdx test for new warning policy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulysse GĂ©rard --- test/blackbox-tests/test-cases/mdx-stanza/run.t | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/blackbox-tests/test-cases/mdx-stanza/run.t b/test/blackbox-tests/test-cases/mdx-stanza/run.t index cb240ace783a..18a103ceea56 100644 --- a/test/blackbox-tests/test-cases/mdx-stanza/run.t +++ b/test/blackbox-tests/test-cases/mdx-stanza/run.t @@ -12,9 +12,16 @@ It also requires dune lang 2.4 or higher File "dune-project", line 3, characters 11-14: 3 | (using mdx 0.1) ^^^ - Error: Version 0.1 of mdx is not supported until dune lang 2.4. - There are no supported versions of this extension for dune lang 2.3. + Warning: Version 0.1 of mdx extension to verify code blocks in .md files is + not supported until version 2.4 of the dune language. + There are no supported versions of this extension in version 2.3 of the dune + language. + File "dune", line 1, characters 0-5: + 1 | (mdx) + ^^^^^ + Error: 'mdx' is only available since version 2.4 of the dune language. Please + update your dune-project file to have (lang 2.4). [1] You can use the mdx stanza to check your documentation in markdown and mli files