Merge remote-tracking branch 'origin/v1' into merging-from-v1
This commit is contained in:
6
runtests
6
runtests
@@ -60,8 +60,8 @@ def _test():
|
||||
|
||||
|
||||
@_target
|
||||
def _gfmxr():
|
||||
_run(['gfmxr', '-c', str(_gfmxr_count()), '-s', 'README.md'])
|
||||
def _gfmrun():
|
||||
_run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md'])
|
||||
|
||||
|
||||
@_target
|
||||
@@ -123,7 +123,7 @@ def _run(command):
|
||||
check_call(command)
|
||||
|
||||
|
||||
def _gfmxr_count():
|
||||
def _gfmrun_count():
|
||||
with open('README.md') as infile:
|
||||
lines = infile.read().splitlines()
|
||||
return len(filter(_is_go_runnable, lines))
|
||||
|
Reference in New Issue
Block a user