Fix compatibility bug for count. `revrange' has been moved into the `scmutil' module since v1.9.
author |
Yujie Wu <yujie.wu2@gmail.com> |
date |
Fri, 10 Feb 2012 19:31:25 -0500 |
parents |
22fefa553086 |
children |
(none) |
'''Test output without keywords.'''
from nose import *
from util import *
@with_setup(setup_sandbox, teardown_sandbox)
def test_blank():
output = prompt(fs='')
assert output == ''
@with_setup(setup_sandbox, teardown_sandbox)
def test_text():
output = prompt(fs='test one two three')
assert output == 'test one two three'
@with_setup(setup_sandbox, teardown_sandbox)
def test_invalid_keyword():
output = prompt(fs='{invalidkeyword}')
assert output == '{invalidkeyword}'