diff options
author | Simon Warta <[email protected]> | 2015-06-19 13:11:49 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-19 13:11:49 +0200 |
commit | 6750b13cc04e4a6a2f1aad364f74d0042d1da766 (patch) | |
tree | e4f4ee0dfe1787867218c1d8c334a2382318e057 /src/tests/test_tss.cpp | |
parent | b9c03ac33472b00a3eeb8bc00b7f37ef610a4eac (diff) |
Replace \n by std::endl in tests to ensure proper flushing
- Remove additional newlines in CHECK_MESSAGE call
- Remove redundant output of algo in aead_test()
Closes #115
Diffstat (limited to 'src/tests/test_tss.cpp')
-rw-r--r-- | src/tests/test_tss.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_tss.cpp b/src/tests/test_tss.cpp index 3bb54e4f6..36f075c54 100644 --- a/src/tests/test_tss.cpp +++ b/src/tests/test_tss.cpp @@ -34,7 +34,7 @@ size_t test_tss() if(S != back) { - std::cout << "TSS-0: " << hex_encode(S) << " != " << hex_encode(back) << "\n"; + std::cout << "TSS-0: " << hex_encode(S) << " != " << hex_encode(back) << std::endl; ++fails; } @@ -44,7 +44,7 @@ size_t test_tss() if(S != back) { - std::cout << "TSS-1: " << hex_encode(S) << " != " << hex_encode(back) << "\n"; + std::cout << "TSS-1: " << hex_encode(S) << " != " << hex_encode(back) << std::endl; ++fails; } @@ -53,7 +53,7 @@ size_t test_tss() #else size_t test_tss() { - std::cout << "Skipping TSS tests\n"; + std::cout << "Skipping TSS tests" << std::endl; return 1; } #endif |