diff options
author | Georg Brandl <georg@python.org> | 2013-01-09 13:55:34 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-01-09 13:55:34 +0100 |
commit | 0b03ce73a68bc794d4891b3cbbc581c7ccf3e03a (patch) | |
tree | 974acd81bf20d7ee04f66b07dd368cc5cd563ddc /tests/test_util.py | |
parent | 81404c17958310b626cfa335a6ba22b261b317f4 (diff) | |
parent | bc227d88fb35c7487c7425a4f2461ac364fc7d06 (diff) | |
download | pygments-0b03ce73a68bc794d4891b3cbbc581c7ccf3e03a.tar.gz |
Merged in pyos/pygments-main (pull request #116: Add dg source code lexer.)
Diffstat (limited to 'tests/test_util.py')
-rw-r--r-- | tests/test_util.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index be1662f9..dbbc66ce 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -3,7 +3,7 @@ Test suite for the util module ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -98,8 +98,10 @@ class UtilTest(unittest.TestCase): self.assertTrue(util.shebang_matches('#!C:\\Python2.4\\Python.exe', r'python(2\.\d)?')) - self.assertFalse(util.shebang_matches('#!/usr/bin/python-ruby', r'python(2\.\d)?')) - self.assertFalse(util.shebang_matches('#!/usr/bin/python/ruby', r'python(2\.\d)?')) + self.assertFalse(util.shebang_matches('#!/usr/bin/python-ruby', + r'python(2\.\d)?')) + self.assertFalse(util.shebang_matches('#!/usr/bin/python/ruby', + r'python(2\.\d)?')) self.assertFalse(util.shebang_matches('#!', r'python')) def test_doctype_matches(self): @@ -131,4 +133,3 @@ class UtilTest(unittest.TestCase): m = r.match(first_non_bmp * 2) self.assertTrue(m) self.assertEquals(m.end(), len(first_non_bmp) * 2) - |