| Index: lib/src/prism/tests/languages/rest/doctest-block_feature.test
|
| diff --git a/lib/src/prism/tests/languages/rest/doctest-block_feature.test b/lib/src/prism/tests/languages/rest/doctest-block_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c0adc9e6bd0a58f05312b1fe44c8c57cc3760649
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/rest/doctest-block_feature.test
|
| @@ -0,0 +1,22 @@
|
| +>>> Foo
|
| +
|
| +>>> foo
|
| +bar
|
| +baz
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["doctest-block", [
|
| + ["punctuation", ">>>"],
|
| + " Foo"
|
| + ]],
|
| + ["doctest-block", [
|
| + ["punctuation", ">>>"],
|
| + " foo\r\nbar\r\nbaz"
|
| + ]]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for doctest blocks.
|
|
|