InitGoogleMockTest.ParsesMultipleFlags was using wchar_t

This seems like an inadvertent copy&paste error
duplicating WideInitGoogleMockTest.ParsesMultipleFlags
This commit is contained in:
Kevin Puetz 2020-05-06 10:07:37 -05:00
parent 01f9c536ce
commit a7890fc76b

View file

@ -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));