Beispiel #1
0
 def test_smoke(self):
     with temporary_file() as fp:
         fp.write(ragel_file_contents)
         fp.flush()
         self.assertEquals(calculate_genfile(fp.name), "com/example/atoi/Parser.java")
Beispiel #2
0
 def test_smoke(self):
     with temporary_file() as fp:
         fp.write(ragel_file_contents)
         fp.flush()
         self.assertEquals(calculate_genfile(fp.name),
                           'com/example/atoi/Parser.java')