clang needs a newline at the end of src
This commit is contained in:
parent
71963aa738
commit
7cf73c10ac
2
setup.py
2
setup.py
@ -246,7 +246,7 @@ def test_compile(
|
|||||||
stdin = p.stdin
|
stdin = p.stdin
|
||||||
assert stdin is not None
|
assert stdin is not None
|
||||||
try:
|
try:
|
||||||
stdin.write(src.encode('utf-8'))
|
stdin.write((src + '\n').encode('utf-8'))
|
||||||
stdin.close()
|
stdin.close()
|
||||||
except BrokenPipeError:
|
except BrokenPipeError:
|
||||||
return False
|
return False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user