hy/tests/test_bin.py
Julien Danjou 3226ecc33f Fix bin/hy and add a unit test
Signed-off-by: Julien Danjou <julien@danjou.info>
2013-04-20 22:28:45 +02:00

9 lines
160 B
Python

import subprocess
def test_bin_hy():
p = subprocess.Popen("echo | bin/hy",
shell=True)
p.wait()
assert p.returncode == 0