Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
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
fmt
Commits
dc69cc45
Commit
dc69cc45
authored
Sep 21, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean tests
parent
9d8021f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
20 deletions
+2
-20
test/core-test.cc
test/core-test.cc
+2
-3
test/folly/Range.h
test/folly/Range.h
+0
-17
No files found.
test/core-test.cc
View file @
dc69cc45
...
...
@@ -397,8 +397,7 @@ TEST(ArgTest, CustomArg) {
}
TEST
(
ArgTest
,
VisitInvalidArg
)
{
typedef
mock_visitor
<
fmt
::
monostate
>
Visitor
;
testing
::
StrictMock
<
Visitor
>
visitor
;
testing
::
StrictMock
<
mock_visitor
<
fmt
::
monostate
>
>
visitor
;
EXPECT_CALL
(
visitor
,
visit
(
_
));
fmt
::
basic_format_arg
<
fmt
::
format_context
>
arg
;
visit
(
visitor
,
arg
);
...
...
@@ -446,7 +445,7 @@ TEST(CoreTest, ConvertToInt) {
EXPECT_TRUE
((
fmt
::
convert_to_int
<
basic_enum
,
char
>::
value
));
}
enum
enum_with_underlying_type
:
char
{
TestValue
};
enum
enum_with_underlying_type
:
char
{};
TEST
(
CoreTest
,
IsEnumConvertibleToInt
)
{
EXPECT_TRUE
((
fmt
::
convert_to_int
<
enum_with_underlying_type
,
char
>::
value
));
...
...
test/folly/Range.h
deleted
100644 → 0
View file @
9d8021f0
// A folly::StringPiece stub.
#include <cstring>
namespace
folly
{
class
StringPiece
{
public:
explicit
StringPiece
(
const
char
*
s
)
:
data_
(
s
),
size_
(
std
::
strlen
(
s
))
{}
const
char
*
data
()
const
{
return
"foo"
;
}
size_t
size
()
const
{
return
3
;
}
private:
const
char
*
data_
;
size_t
size_
;
};
}
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