OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2001-2004 Twisted Matrix Laboratories. | |
2 # See LICENSE for details. | |
3 | |
4 # | |
5 | |
6 import os | |
7 from os.path import join as opj | |
8 | |
9 from twisted.trial import unittest | |
10 | |
11 from twisted.python import util | |
12 | |
13 | |
14 class CorrectComments(unittest.TestCase): | |
15 def testNoSlashSlashComments(self): | |
16 urlarg = util.sibpath(__file__, opj(os.pardir, 'protocols', '_c_urlarg.c ')) | |
17 contents = file(urlarg).read() | |
18 self.assertEquals(contents.find('//'), -1) | |
OLD | NEW |