Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 812dbd7

Browse filesBrowse files
nodejs-github-bottargos
authored andcommitted
deps: update googletest to eff443c
PR-URL: #51657 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent cb3ae4b commit 812dbd7
Copy full SHA for 812dbd7

File tree

Expand file treeCollapse file tree

1 file changed

+6
-7
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-7
lines changed
Open diff view settings
Collapse file

‎deps/googletest/src/gtest.cc‎

Copy file name to clipboardExpand all lines: deps/googletest/src/gtest.cc
+6-7Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3270,6 +3270,7 @@ bool ShouldUseColor(bool stdout_is_tty) {
32703270
term != nullptr && (String::CStringEquals(term, "xterm") ||
32713271
String::CStringEquals(term, "xterm-color") ||
32723272
String::CStringEquals(term, "xterm-kitty") ||
3273+
String::CStringEquals(term, "alacritty") ||
32733274
String::CStringEquals(term, "screen") ||
32743275
String::CStringEquals(term, "tmux") ||
32753276
String::CStringEquals(term, "rxvt-unicode") ||
@@ -4437,8 +4438,8 @@ std::string XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes(
44374438
Message attributes;
44384439
for (int i = 0; i < result.test_property_count(); ++i) {
44394440
const TestProperty& property = result.GetTestProperty(i);
4440-
attributes << " " << property.key() << "="
4441-
<< "\"" << EscapeXmlAttribute(property.value()) << "\"";
4441+
attributes << " " << property.key() << "=" << "\""
4442+
<< EscapeXmlAttribute(property.value()) << "\"";
44424443
}
44434444
return attributes.GetString();
44444445
}
@@ -4748,9 +4749,7 @@ void JsonUnitTestResultPrinter::OutputJsonTestResult(::std::ostream* stream,
47484749
if (part.failed()) {
47494750
*stream << ",\n";
47504751
if (++failures == 1) {
4751-
*stream << kIndent << "\""
4752-
<< "failures"
4753-
<< "\": [\n";
4752+
*stream << kIndent << "\"" << "failures" << "\": [\n";
47544753
}
47554754
const std::string location =
47564755
internal::FormatCompilerIndependentFileLocation(part.file_name(),
@@ -4900,8 +4899,8 @@ std::string JsonUnitTestResultPrinter::TestPropertiesAsJson(
49004899
for (int i = 0; i < result.test_property_count(); ++i) {
49014900
const TestProperty& property = result.GetTestProperty(i);
49024901
attributes << ",\n"
4903-
<< indent << "\"" << property.key() << "\": "
4904-
<< "\"" << EscapeJson(property.value()) << "\"";
4902+
<< indent << "\"" << property.key() << "\": " << "\""
4903+
<< EscapeJson(property.value()) << "\"";
49054904
}
49064905
return attributes.GetString();
49074906
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.