Skip to content

Commit

Permalink
Internal Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 595321607
Change-Id: Ice9e39b9bb3711384a6edd2d589a453bed371d68
  • Loading branch information
ise-crypto authored and Copybara-Service committed Jan 3, 2024
1 parent e0c923c commit d2a5c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tink/util/istream_input_stream_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ std::unique_ptr<std::istream> GetTestIstream(absl::string_view filename,
std::ofstream output (full_filename, std::ofstream::binary);
if (!output.write(file_contents->data(), size) || output.tellp() != size) {
std::clog << "Failed to write " << size << " bytes to file "
<< full_filename << " error: " << errno << std::endl;
<< full_filename << " error: " << errno << '\n';

exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion tink/util/test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ std::string ReadTestFile(absl::string_view filename) {
std::string full_filename = absl::StrCat(test::TmpDir(), "/", filename);
std::ifstream input_stream(full_filename, std::ios::binary);
if (!input_stream) {
std::clog << "Cannot open file " << full_filename << std::endl;
std::clog << "Cannot open file " << full_filename << '\n';
exit(1);
}
std::stringstream buffer;
Expand Down

0 comments on commit d2a5c75

Please sign in to comment.