From 53aac66e1b06ed0887a36b6224d0078bdfe4cc53 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 10 Dec 2010 17:15:23 +0200 Subject: [PATCH 1/1] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?utf8?q?=D0=B8=D1=8F=20=D0=B2=20=D1=8E=D0=BD=D0=B8=D1=82-=D1=82=D0=B5?= =?utf8?q?=D1=81=D1=82=D0=B0=D1=85=20=D0=B4=D0=BB=D1=8F=20CONFIGFILE=20?= =?utf8?q?=D0=B2=20=D1=81=D0=BE=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D1=81=D1=82?= =?utf8?q?=D0=B2=D0=B8=D0=B8=20=D1=81=20=D0=B5=D0=B3=D0=BE=20=D0=B8=D0=BD?= =?utf8?q?=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tests/test_conffiles.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_conffiles.cpp b/tests/test_conffiles.cpp index 897148f5..0d83abb8 100644 --- a/tests/test_conffiles.cpp +++ b/tests/test_conffiles.cpp @@ -28,9 +28,11 @@ namespace tut ensure_equals("Correct construction", cf.Error(), 0); - ensure_equals("Correct writing 'a' string", cf.WriteString("a", "a-string"), 0); - ensure_equals("Correct writing 'b' integer (0)", cf.WriteInt("b", 0), 0); - ensure_equals("Correct writing 'e' double (2.718281828)", cf.WriteDouble("e", 2.718281828), 0); + cf.WriteString("a", "a-string"); + cf.WriteInt("b", 0); + cf.WriteDouble("e", 2.718281828); + + ensure_equals("Correct data flushing", cf.Flush(), 0); } { -- 2.44.2