mirror of
https://github.com/google/googletest.git
synced 2025-04-05 21:45:03 +00:00
InitGoogleMockTest.ParsesMultipleFlags was using wchar_t
This seems like an inadvertent copy&paste error duplicating WideInitGoogleMockTest.ParsesMultipleFlags
This commit is contained in:
parent
01f9c536ce
commit
a7890fc76b
1 changed files with 3 additions and 3 deletions
|
@ -87,10 +87,10 @@ TEST(InitGoogleMockTest, ParsesSingleFlag) {
|
|||
|
||||
TEST(InitGoogleMockTest, ParsesMultipleFlags) {
|
||||
int old_default_behavior = GMOCK_FLAG_GET(default_mock_behavior);
|
||||
const wchar_t* argv[] = {L"foo.exe", L"--gmock_verbose=info",
|
||||
L"--gmock_default_mock_behavior=2", nullptr};
|
||||
const char* argv[] = {"foo.exe", "--gmock_verbose=info",
|
||||
"--gmock_default_mock_behavior=2", nullptr};
|
||||
|
||||
const wchar_t* new_argv[] = {L"foo.exe", nullptr};
|
||||
const char* new_argv[] = {"foo.exe", nullptr};
|
||||
|
||||
TestInitGoogleMock(argv, new_argv, "info");
|
||||
EXPECT_EQ(2, GMOCK_FLAG_GET(default_mock_behavior));
|
||||
|
|
Loading…
Add table
Reference in a new issue