diff options
| author | eli.bendersky <devnull@localhost> | 2011-11-12 13:18:40 +0200 |
|---|---|---|
| committer | eli.bendersky <devnull@localhost> | 2011-11-12 13:18:40 +0200 |
| commit | bfa9a945fbcea656abf40c5c9fc129dcc98f02e6 (patch) | |
| tree | f936d3329af06253673ba7042d21bd37e8d203c1 /tests | |
| parent | 13ad219ea4e2b1cee5effc566ea5e0d5cb9f3c45 (diff) | |
| download | pycparser-bfa9a945fbcea656abf40c5c9fc129dcc98f02e6.tar.gz | |
Add test for previous fix (issue 50) to test_c_lexer.py
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_c_lexer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_c_lexer.py b/tests/test_c_lexer.py index 3851569..773e608 100644 --- a/tests/test_c_lexer.py +++ b/tests/test_c_lexer.py @@ -219,7 +219,7 @@ class TestCLexerNoErrors(unittest.TestCase): dsf
# 9
armo
- #line 10 "..\..\test.h"
+ #line 10 "..\~..\test.h"
tok1
#line 99999 "include/me.h"
tok2
@@ -251,7 +251,7 @@ class TestCLexerNoErrors(unittest.TestCase): self.assertEqual(t4.type, 'ID')
self.assertEqual(t4.value, 'tok1')
self.assertEqual(t4.lineno, 10)
- self.assertEqual(self.clex.filename, r'..\..\test.h')
+ self.assertEqual(self.clex.filename, r'..\~..\test.h')
t5 = self.clex.token()
self.assertEqual(t5.type, 'ID')
|
