aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-17 11:00:58 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-17 11:00:58 -0800
commit1865466edfe091cae376735359b665479021dca2 (patch)
tree8699a9a72673526646cd4d878516d32c8b968756 /tests
parent3c17526474d054acb9aa616d5af95103f040b2d2 (diff)
support for std::endl and cout << ints
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 41064d43..e7793685 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3482,12 +3482,12 @@ at function.:blag
int main()
{
- std::cout << "hello world";
+ std::cout << "hello world" << std::endl << 77 << "." << std::endl;
return 0;
}
'''
- self.do_run(src, 'hello world')
+ self.do_run(src, 'hello world\n77.\n')
def test_stdvec(self):
src = '''