aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecdsa.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-19 13:11:49 +0200
committerSimon Warta <[email protected]>2015-06-19 13:11:49 +0200
commit6750b13cc04e4a6a2f1aad364f74d0042d1da766 (patch)
treee4f4ee0dfe1787867218c1d8c334a2382318e057 /src/tests/test_ecdsa.cpp
parentb9c03ac33472b00a3eeb8bc00b7f37ef610a4eac (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_ecdsa.cpp')
-rw-r--r--src/tests/test_ecdsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_ecdsa.cpp b/src/tests/test_ecdsa.cpp
index e8962b748..53f32ab49 100644
--- a/src/tests/test_ecdsa.cpp
+++ b/src/tests/test_ecdsa.cpp
@@ -58,13 +58,13 @@ size_t ecc_point_mul(const std::string& group_id,
if(p.get_affine_x() != X)
{
- std::cout << p.get_affine_x() << " != " << X << "\n";
+ std::cout << p.get_affine_x() << " != " << X << std::endl;
++fails;
}
if(p.get_affine_y() != Y)
{
- std::cout << p.get_affine_y() << " != " << Y << "\n";
+ std::cout << p.get_affine_y() << " != " << Y << std::endl;
++fails;
}