summaryrefslogtreecommitdiff
path: root/test/file_log_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-03 11:17:34 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-03 20:18:04 +0200
commit689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch)
treeedd1264941263f2fa25a98d61f98c87876c5b667 /test/file_log_test.cc
parent0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff)
C++11 tidying.
Diffstat (limited to 'test/file_log_test.cc')
-rw-r--r--test/file_log_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/file_log_test.cc b/test/file_log_test.cc
index e0eeba010..dca1d4386 100644
--- a/test/file_log_test.cc
+++ b/test/file_log_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,20 +18,20 @@
*/
+
/** @file test/file_log_test.cc
* @brief Test FileLog.
* @ingroup selfcontained
*/
+
#include "lib/file_log.h"
#include <boost/test/unit_test.hpp>
-#include <iostream>
-using std::cout;
BOOST_AUTO_TEST_CASE (file_log_test)
{
FileLog log ("test/data/short.log");
- BOOST_CHECK_EQUAL (log.head_and_tail (1024), "This is a short log.\nWith only two lines.\n");
- BOOST_CHECK_EQUAL (log.head_and_tail (8), "This is \n .\n .\n .\no lines.\n");
+ BOOST_CHECK_EQUAL (log.head_and_tail(1024), "This is a short log.\nWith only two lines.\n");
+ BOOST_CHECK_EQUAL (log.head_and_tail(8), "This is \n .\n .\n .\no lines.\n");
}