diff options
author | Anna Henningsen <anna@addaleax.net> | 2016-05-01 01:17:34 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2016-05-05 01:15:10 +0200 |
commit | 1b365f60f047f8f2b9846286819b0b06b3a66fbf (patch) | |
tree | d85c96427940d42025e461527fa726859ed8bb34 /test/fixtures/doc_with_yaml.md | |
parent | 015f4fda0eecf8b5014973cd558674dcb5a120cf (diff) | |
download | android-node-v8-1b365f60f047f8f2b9846286819b0b06b3a66fbf.tar.gz android-node-v8-1b365f60f047f8f2b9846286819b0b06b3a66fbf.tar.bz2 android-node-v8-1b365f60f047f8f2b9846286819b0b06b3a66fbf.zip |
test,tools: test yaml parsing of doctool
Add checks that make sure the doctool parses metadata correctly.
PR-URL: https://github.com/nodejs/node/pull/6495
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'test/fixtures/doc_with_yaml.md')
-rw-r--r-- | test/fixtures/doc_with_yaml.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/fixtures/doc_with_yaml.md b/test/fixtures/doc_with_yaml.md new file mode 100644 index 0000000000..03411d5bf7 --- /dev/null +++ b/test/fixtures/doc_with_yaml.md @@ -0,0 +1,21 @@ +# Sample Markdown with YAML info + +## Foobar +<!-- YAML +added: v1.0.0 +--> + +Describe `Foobar` in more detail here. + +## Deprecated thingy +<!-- YAML +added: v1.0.0 +deprecated: v2.0.0 +--> + +Describe `Deprecated thingy` in more detail here. + +## Something +<!-- This is not a metadata comment --> + +Describe `Something` in more detail here. |