summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index f524e976..00572d96 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -62,6 +62,10 @@ class CmdLineTest(unittest.TestCase):
self.assertEquals(c, 0)
self.assert_('HTML' in o)
+ def test_S_opt(self):
+ c, o, e = run_cmdline("-S", "default", "-f", "html", "-O", "linenos=1")
+ self.assertEquals(c, 0)
+
def test_invalid_opts(self):
for opts in [("-L", "-lpy"), ("-L", "-fhtml"), ("-L", "-Ox"),
("-a",), ("-Sst", "-lpy"), ("-H",),