Skip to content

Commit f5096cc

Browse files
Fix indention
1 parent aff62a3 commit f5096cc

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

t/150-stamp_text.cpp

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,30 +31,30 @@ using namespace TAP;
3131
int
3232
main()
3333
{
34-
TEST_START(3);
35-
{ /* 1..1 */
36-
char data[] = "папа\0мама\0бабушка\0дедушка\0братик\0сестричка";
37-
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
38-
StampTextPulp stamp;
39-
std::string s = stamp.ExtractStr(blob);
40-
is(s, "папа мама бабушка дедушка братик сестричка", "StampTextSimple");
41-
42-
}
43-
{ /* 2..2 */
44-
char data[] = "dad\0mam\0granddad\0grandmam\0brother\0sister";
45-
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
46-
StampTextPulpWords stamp;
47-
std::string s = stamp.ExtractStr(blob);
48-
is(s, "d dad gra n dmam broth er siste", "GalleyTextSimple");
49-
50-
}
51-
{ /* 3..3 */
52-
char data[] = "abcdef" "abcdef" "ABCDEF" "012345";
53-
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
54-
StampTextDictWords stamp;
55-
std::string s = stamp.ExtractStr(blob);
56-
is(s, "gleam godfather graffiti greened grouping gunshots gleam godfather graffiti greened grouping gunshots dismally dissented divested doorstep dread drunks convertors corpulent counterparts cranking crippled crusades", "GalleyLCAlphaSmall");
57-
58-
}
59-
TEST_END;
34+
TEST_START(3);
35+
{ /* 1..1 */
36+
char data[] = "папа\0мама\0бабушка\0дедушка\0братик\0сестричка";
37+
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
38+
StampTextPulp stamp;
39+
std::string s = stamp.ExtractStr(blob);
40+
is(s, "папа мама бабушка дедушка братик сестричка", "StampTextSimple");
41+
}
42+
43+
{ /* 2..2 */
44+
char data[] = "dad\0mam\0granddad\0grandmam\0brother\0sister";
45+
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
46+
StampTextPulpWords stamp;
47+
std::string s = stamp.ExtractStr(blob);
48+
is(s, "d dad gra n dmam broth er siste", "GalleyTextSimple");
49+
}
50+
51+
{ /* 3..3 */
52+
char data[] = "abcdef" "abcdef" "ABCDEF" "012345";
53+
std::shared_ptr<Blob> blob = std::make_shared<Blob>(data, (sizeof data)-1);
54+
StampTextDictWords stamp;
55+
std::string s = stamp.ExtractStr(blob);
56+
is(s, "gleam godfather graffiti greened grouping gunshots gleam godfather graffiti greened grouping gunshots dismally dissented divested doorstep dread drunks convertors corpulent counterparts cranking crippled crusades", "GalleyLCAlphaSmall");
57+
58+
}
59+
TEST_END;
6060
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy