mirror of
https://github.com/google/googletest.git
synced 2026-06-15 08:26:11 +08:00
Merge d016b0e2f076c1d2fd53509768963f9924495158 into 7140cd416cecd7462a8aae488024abeee55598e4
This commit is contained in:
commit
e3efb9030c
@ -1095,7 +1095,7 @@ class CapturedStream {
|
||||
0, // Generate unique file name.
|
||||
temp_file_path);
|
||||
GTEST_CHECK_(success != 0)
|
||||
<< "Unable to create a temporary file in " << temp_dir_path;
|
||||
<< "Unable to create a temporary file in " << temp_dir_path << ". Error Message: " << ::GetLastError();
|
||||
const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
|
||||
GTEST_CHECK_(captured_fd != -1)
|
||||
<< "Unable to open temporary file " << temp_file_path;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user