Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
code
pfabric
Commits
001305c8
Commit
001305c8
authored
Mar 29, 2017
by
Kai-Uwe Sattler
Browse files
fix for TextFileSourceTest
parent
49836814
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/TextFileSourceTest.cpp
View file @
001305c8
...
...
@@ -32,7 +32,7 @@ public:
void
processDataElement
(
const
TStringPtr
&
data
,
const
bool
outdated
)
{
std
::
string
input
(
data
->
getAttribute
<
0
>
().
begin_
,
data
->
getAttribute
<
0
>
().
size_
);
std
::
string
expected
=
fmt
::
format
(
"{},This is a string field,{}"
,
tupleNum
,
tupleNum
*
100
+
0.5
);
std
::
string
expected
=
fmt
::
format
(
"{},This is a string field,{
:.1f
}"
,
tupleNum
,
tupleNum
*
100
+
0.5
);
REQUIRE
(
input
==
expected
);
tupleNum
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment