tools: nfdc help command

refs #3780

Change-Id: Ibd0e37bad127a38e582864fadd81afadc74baf48
diff --git a/tests/tools/nfdc/format-helpers.t.cpp b/tests/tools/nfdc/format-helpers.t.cpp
index f380544..99f6966 100644
--- a/tests/tools/nfdc/format-helpers.t.cpp
+++ b/tests/tools/nfdc/format-helpers.t.cpp
@@ -52,6 +52,14 @@
 
 BOOST_AUTO_TEST_SUITE(Text)
 
+BOOST_AUTO_TEST_CASE(Space)
+{
+  output_test_stream os;
+  os << 'A' << text::Spaces{-1} << 'B' << text::Spaces{0} << 'C' << text::Spaces{5} << 'D';
+
+  BOOST_CHECK(os.is_equal("ABC     D"));
+}
+
 BOOST_AUTO_TEST_CASE(Sep)
 {
   output_test_stream os;