encoding: provide FormattedOutputFunction for Block
refs #2225
Change-Id: Ie38539ff93293b3919789043b01e09b573fb619a
diff --git a/tests/unit-tests/util/sqlite3-statement.t.cpp b/tests/unit-tests/util/sqlite3-statement.t.cpp
index 78e8664..13171c5 100644
--- a/tests/unit-tests/util/sqlite3-statement.t.cpp
+++ b/tests/unit-tests/util/sqlite3-statement.t.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2013-2017 Regents of the University of California.
+/*
+ * Copyright (c) 2013-2018 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -135,10 +135,9 @@
BOOST_CHECK_EQUAL(stmt.step(), SQLITE_ROW);
BOOST_CHECK_EQUAL(stmt.getInt(0), 4);
- Block newBlock;
- BOOST_CHECK_NO_THROW(newBlock = stmt.getBlock(1));
+ Block newBlock = stmt.getBlock(1);
BOOST_CHECK_EQUAL(newBlock.type(), 100);
- BOOST_CHECK(newBlock == block);
+ BOOST_CHECK_EQUAL(newBlock, block);
BOOST_CHECK_EQUAL(stmt.step(), SQLITE_ROW);
BOOST_CHECK_EQUAL(stmt.getInt(0), 5);