aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-19 15:21:39 -0700
committerJohn MacFarlane <[email protected]>2023-07-19 15:21:39 -0700
commitce2b023e13fcae31710da4fbb2ada2d0e8f5f4cc (patch)
tree7a07f6227f966beb69ac794284bac47be9a2e03d /test/command
parenteb090c50ff6dc35e3a2971d831a9832c69db7d8d (diff)
Refine command line option preprocessor and add tests for #8956.
The substantive change here is the `-strue` will now work instead of being interpreted as `-s -true`. This is somewhat ad hoc, but I don't think we'll ever have an output format named `rue`, so it's probably okay.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8956.md24
1 files changed, 18 insertions, 6 deletions
diff --git a/test/command/8956.md b/test/command/8956.md
index 1f78afd63..02ab292ae 100644
--- a/test/command/8956.md
+++ b/test/command/8956.md
@@ -1,10 +1,12 @@
```
-% pandoc -itslidy
+% pandoc -iNtslidy
+# One
+
- one
- two
^D
-<div class="slide section level6">
-
+<div id="one" class="slide section level1" number="1">
+<h1><span class="header-section-number">1</span> One</h1>
<ul class="incremental">
<li>one</li>
<li>two</li>
@@ -18,13 +20,16 @@
after tab
```
^D
+Pandoc
+ Meta { unMeta = fromList [] }
+ [ CodeBlock ( "" , [] , [] ) "\tafter tab" ]
````
```
-% pandoc -strue
+% pandoc -sfalse
+hi
^D
-2> Could not find data file templates/default.rue
-=> 97
+<p>hi</p>
```
```
@@ -34,3 +39,10 @@ hi
<p>hi</p>
```
+```
+% pandoc --standalone=FALSE
+hi
+^D
+<p>hi</p>
+```
+