"vscode:/vscode.git/clone" did not exist on "658ac0b71a350cc833ee4520536b6c4964c7b944"
Commit ab29bb6f authored by vladlosev's avatar vladlosev
Browse files

Removes commas from last items in enums (a C++ standard compliance fix).

parent 52277c91
...@@ -254,7 +254,7 @@ class UntypedOnCallSpecBase { ...@@ -254,7 +254,7 @@ class UntypedOnCallSpecBase {
// syntax checking relies on it. // syntax checking relies on it.
kNone, kNone,
kWith, kWith,
kWillByDefault, kWillByDefault
}; };
// Asserts that the ON_CALL() statement has a certain property. // Asserts that the ON_CALL() statement has a certain property.
...@@ -357,7 +357,7 @@ class OnCallSpec : public UntypedOnCallSpecBase { ...@@ -357,7 +357,7 @@ class OnCallSpec : public UntypedOnCallSpecBase {
enum CallReaction { enum CallReaction {
ALLOW, ALLOW,
WARN, WARN,
FAIL, FAIL
}; };
} // namespace internal } // namespace internal
...@@ -715,7 +715,7 @@ class ExpectationBase { ...@@ -715,7 +715,7 @@ class ExpectationBase {
kAfter, kAfter,
kWillOnce, kWillOnce,
kWillRepeatedly, kWillRepeatedly,
kRetiresOnSaturation, kRetiresOnSaturation
}; };
typedef std::vector<const void*> UntypedActions; typedef std::vector<const void*> UntypedActions;
......
...@@ -305,7 +305,7 @@ inline void Expect(bool condition, const char* file, int line) { ...@@ -305,7 +305,7 @@ inline void Expect(bool condition, const char* file, int line) {
// Severity level of a log. // Severity level of a log.
enum LogSeverity { enum LogSeverity {
INFO = 0, INFO = 0,
WARNING = 1, WARNING = 1
}; };
// Valid values for the --gmock_verbose flag. // Valid values for the --gmock_verbose flag.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment