Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
97408cae
Commit
97408cae
authored
Apr 25, 2023
by
Vertexwahn
Browse files
Fix spelling
parent
ccdeec88
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
googletest/src/gtest-death-test.cc
googletest/src/gtest-death-test.cc
+1
-1
googletest/src/gtest-internal-inl.h
googletest/src/gtest-internal-inl.h
+1
-1
googletest/test/googletest-filepath-test.cc
googletest/test/googletest-filepath-test.cc
+1
-1
googletest/test/gtest_xml_test_utils.py
googletest/test/gtest_xml_test_utils.py
+1
-1
No files found.
googletest/src/gtest-death-test.cc
View file @
97408cae
...
...
@@ -1029,7 +1029,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() {
// Note: The test component must have `fuchsia.process.Launcher` declared
// in its manifest. (Fuchsia integration tests require creating a
// "Fuchsia Test Component" which contains a "Fuchsia Component Manifest")
// Launching processes is a privileged operation in Fu
s
chia, and the
// Launching processes is a privileged operation in Fuch
s
ia, and the
// declaration indicates that the ability is required for the component.
std
::
unique_ptr
<
char
*
[]
>
argv
=
CreateArgvFromArgs
(
args
);
status
=
fdio_spawn_etc
(
child_job
,
FDIO_SPAWN_CLONE_ALL
,
argv
[
0
],
argv
.
get
(),
...
...
googletest/src/gtest-internal-inl.h
View file @
97408cae
...
...
@@ -93,7 +93,7 @@ GTEST_API_ TimeInMillis GetTimeInMillis();
GTEST_API_
bool
ShouldUseColor
(
bool
stdout_is_tty
);
// Formats the given time in milliseconds as seconds. If the input is an exact N
// seconds, the output has a trailing decimal point (e.g., "N." intead of "N").
// seconds, the output has a trailing decimal point (e.g., "N." in
s
tead of "N").
GTEST_API_
std
::
string
FormatTimeInMillisAsSeconds
(
TimeInMillis
ms
);
// Converts the given time in milliseconds to a date string in the ISO 8601
...
...
googletest/test/googletest-filepath-test.cc
View file @
97408cae
...
...
@@ -515,7 +515,7 @@ class DirectoryCreationTest : public Test {
}
// Strings representing a directory and a file, with identical paths
// except for the trailing separator character that distin
q
uishes
// except for the trailing separator character that distin
g
uishes
// a directory named 'test' from a file named 'test'. Example names:
FilePath
testdata_path_
;
// "/tmp/directory_creation/test/"
FilePath
testdata_file_
;
// "/tmp/directory_creation/test"
...
...
googletest/test/gtest_xml_test_utils.py
View file @
97408cae
...
...
@@ -218,7 +218,7 @@ class GTestXMLTestCase(gtest_test_utils.TestCase):
)
if
element
.
tagName
in
(
'testsuites'
,
'testsuite'
,
'testcase'
):
time
=
element
.
getAttributeNode
(
'time'
)
# The value for exact N seconds has a traling decimal point (e.g., "10."
# The value for exact N seconds has a tra
i
ling decimal point (e.g., "10."
# instead of "10")
time
.
value
=
re
.
sub
(
r
'^\d+\.(\d+)?$'
,
'*'
,
time
.
value
)
type_param
=
element
.
getAttributeNode
(
'type_param'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment