示例#1
0
文件: testparser.py 项目: chaosim/dao
 def test_goto(self):
   eq_(eval(begin(set_text('abcde'), goto(1))), 'b')
示例#2
0
 def test_goto(self):
     eq_(eval(begin(set_text('abcde'), goto(1))), 'b')
示例#3
0
文件: testparser.py 项目: chaosim/dao
 def test_skip(self):
   eq_(eval(begin(set_text('abcde'), goto(2), next_char())), 'c')
示例#4
0
 def test_skip(self):
     eq_(eval(begin(set_text('abcde'), goto(2), next_char())), 'c')