Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
484bf073
Unverified
Commit
484bf073
authored
Nov 15, 2021
by
Charles Milette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test_fmt_helper
parent
0ded0037
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/test_fmt_helper.cpp
tests/test_fmt_helper.cpp
+4
-4
No files found.
tests/test_fmt_helper.cpp
View file @
484bf073
...
...
@@ -10,7 +10,7 @@ void test_pad2(int n, const char *expected)
spdlog
::
details
::
fmt_helper
::
pad2
(
n
,
buf
);
#ifdef SPDLOG_USE_STD_FORMAT
REQUIRE
(
formatted
==
expected
);
REQUIRE
(
buf
==
expected
);
#else
REQUIRE
(
fmt
::
to_string
(
buf
)
==
expected
);
#endif
...
...
@@ -22,7 +22,7 @@ void test_pad3(uint32_t n, const char *expected)
spdlog
::
details
::
fmt_helper
::
pad3
(
n
,
buf
);
#ifdef SPDLOG_USE_STD_FORMAT
REQUIRE
(
formatted
==
expected
);
REQUIRE
(
buf
==
expected
);
#else
REQUIRE
(
fmt
::
to_string
(
buf
)
==
expected
);
#endif
...
...
@@ -34,7 +34,7 @@ void test_pad6(std::size_t n, const char *expected)
spdlog
::
details
::
fmt_helper
::
pad6
(
n
,
buf
);
#ifdef SPDLOG_USE_STD_FORMAT
REQUIRE
(
formatted
==
expected
);
REQUIRE
(
buf
==
expected
);
#else
REQUIRE
(
fmt
::
to_string
(
buf
)
==
expected
);
#endif
...
...
@@ -46,7 +46,7 @@ void test_pad9(std::size_t n, const char *expected)
spdlog
::
details
::
fmt_helper
::
pad9
(
n
,
buf
);
#ifdef SPDLOG_USE_STD_FORMAT
REQUIRE
(
formatted
==
expected
);
REQUIRE
(
buf
==
expected
);
#else
REQUIRE
(
fmt
::
to_string
(
buf
)
==
expected
);
#endif
...
...
Write
Preview
Markdown
is supported
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