• Yonggang Luo's avatar
    Fixes the test gmock_output_test.py with MSVC · 6f1c4b3d
    Yonggang Luo authored
    
    
    For MSVC, gmock_output_test.py output struct std::pair<int,bool>, for GCC, it's output
    std::pair<int, bool>, it's not the same, my intention is getting these to be same by removing
    struct  for MSVC's outptu, and strip redundant space for GCC.
    
    As a by-product,
    ```
    #ifdef _MSC_VER
    #define ERROR_DESC "class std::runtime_error"
    #else
    #define ERROR_DESC "std::runtime_error"
    #endif
    ```
    can be simplified to
    
    ```
    #define ERROR_DESC "std::runtime_error"
    ```
    Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
    6f1c4b3d
gmock_output_test_golden.txt 13.3 KB