Skip to content

Commit 1745a40

Browse files
author
Hyuk Myeong
committed
fix typos
1 parent e2239ee commit 1745a40

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Our documentation is now live on GitHub Pages at
1414
https://google.github.io/googletest/. We recommend browsing the documentation on
1515
GitHub Pages rather than directly in the repository.
1616

17-
#### Release 1.10.x
17+
#### Release 1.11.0
1818

19-
[Release 1.10.x](https://github.com/google/googletest/releases/tag/release-1.10.0)
19+
[Release 1.11.0](https://github.com/google/googletest/releases/tag/release-1.11.0)
2020
is now available.
2121

2222
#### Coming Soon
@@ -109,8 +109,8 @@ Windows and Linux platforms.
109109

110110
[GoogleTest UI](https://github.com/ospector/gtest-gbar) is a test runner that
111111
runs your test binary, allows you to track its progress via a progress bar, and
112-
displays a list of test failures. Clicking on one shows failure text. Google
113-
Test UI is written in C#.
112+
displays a list of test failures. Clicking on one shows failure text. GoogleTest
113+
UI is written in C#.
114114

115115
[GTest TAP Listener](https://github.com/kinow/gtest-tap-listener) is an event
116116
listener for GoogleTest that implements the

docs/gmock_cheat_sheet.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ class MockFunction<R(A1, ..., An)> {
230230
};
231231
```
232232

233-
See this [recipe](gmock_cook_book.md#using-check-points) for one application of
234-
it.
233+
See this [recipe](gmock_cook_book.md#useful-mocks-created-using-gmock) for one
234+
application of it.
235235

236236
## Flags
237237

docs/gmock_for_dummies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ the *default* action for the function every time (unless, of course, you have a
480480
`WillRepeatedly()`.).
481481
482482
What can we do inside `WillOnce()` besides `Return()`? You can return a
483-
reference using `ReturnRef(*variable*)`, or invoke a pre-defined function, among
483+
reference using `ReturnRef(`*`variable`*`)`, or invoke a pre-defined function, among
484484
[others](gmock_cook_book.md#using-actions).
485485
486486
**Important note:** The `EXPECT_CALL()` statement evaluates the action clause

docs/pkgconfig.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ includedir=/usr/include
105105
106106
Name: gtest
107107
Description: GoogleTest (without main() function)
108-
Version: 1.10.0
108+
Version: 1.11.0
109109
URL: https://github.com/google/googletest
110110
Libs: -L${libdir} -lgtest -lpthread
111111
Cflags: -I${includedir} -DGTEST_HAS_PTHREAD=1 -lpthread

docs/reference/actions.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ provided by GoogleTest. All actions are defined in the `::testing` namespace.
66

77
## Returning a Value
88

9-
| | |
9+
| Action | Description |
1010
| :-------------------------------- | :-------------------------------------------- |
1111
| `Return()` | Return from a `void` mock function. |
1212
| `Return(value)` | Return `value`. If the type of `value` is different to the mock function's return type, `value` is converted to the latter type <i>at the time the expectation is set</i>, not when the action is executed. |
@@ -20,7 +20,7 @@ provided by GoogleTest. All actions are defined in the `::testing` namespace.
2020

2121
## Side Effects
2222

23-
| | |
23+
| Action | Description |
2424
| :--------------------------------- | :-------------------------------------- |
2525
| `Assign(&variable, value)` | Assign `value` to variable. |
2626
| `DeleteArg<N>()` | Delete the `N`-th (0-based) argument, which must be a pointer. |
@@ -38,9 +38,9 @@ provided by GoogleTest. All actions are defined in the `::testing` namespace.
3838
In the following, by "callable" we mean a free function, `std::function`,
3939
functor, or lambda.
4040

41-
| | |
41+
| Action | Description |
4242
| :---------------------------------- | :------------------------------------- |
43-
| `f` | Invoke f with the arguments passed to the mock function, where f is a callable. |
43+
| `f` | Invoke `f` with the arguments passed to the mock function, where `f` is a callable. |
4444
| `Invoke(f)` | Invoke `f` with the arguments passed to the mock function, where `f` can be a global/static function or a functor. |
4545
| `Invoke(object_pointer, &class::method)` | Invoke the method on the object with the arguments passed to the mock function. |
4646
| `InvokeWithoutArgs(f)` | Invoke `f`, which can be a global/static function or a functor. `f` must take no arguments. |
@@ -86,7 +86,7 @@ value, and `foo` by reference.
8686

8787
## Default Action
8888

89-
| Matcher | Description |
89+
| Action | Description |
9090
| :------------ | :----------------------------------------------------- |
9191
| `DoDefault()` | Do the default action (specified by `ON_CALL()` or the built-in one). |
9292

@@ -96,7 +96,7 @@ composite action - trying to do so will result in a run-time error.
9696

9797
## Composite Actions
9898

99-
| | |
99+
| Action | Description |
100100
| :----------------------------- | :------------------------------------------ |
101101
| `DoAll(a1, a2, ..., an)` | Do all actions `a1` to `an` and return the result of `an` in each invocation. The first `n - 1` sub-actions must return void and will receive a readonly view of the arguments. |
102102
| `IgnoreResult(a)` | Perform action `a` and ignore its result. `a` must not return void. |
@@ -106,7 +106,7 @@ composite action - trying to do so will result in a run-time error.
106106

107107
## Defining Actions
108108

109-
| | |
109+
| Macro | Description |
110110
| :--------------------------------- | :-------------------------------------- |
111111
| `ACTION(Sum) { return arg0 + arg1; }` | Defines an action `Sum()` to return the sum of the mock function's argument #0 and #1. |
112112
| `ACTION_P(Plus, n) { return arg0 + n; }` | Defines an action `Plus(n)` to return the sum of the mock function's argument #0 and `n`. |

docs/reference/matchers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ which must be a permanent callback.
259259

260260
## Defining Matchers
261261

262-
| Matcher | Description |
262+
| Macro | Description |
263263
| :----------------------------------- | :------------------------------------ |
264264
| `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even number. |
265265
| `MATCHER_P(IsDivisibleBy, n, "") { *result_listener << "where the remainder is " << (arg % n); return (arg % n) == 0; }` | Defines a matcher `IsDivisibleBy(n)` to match a number divisible by `n`. |

googletest/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ When building GoogleTest as a standalone project, the typical workflow starts
2525
with
2626

2727
```
28-
git clone https://github.com/google/googletest.git -b release-1.10.0
28+
git clone https://github.com/google/googletest.git -b release-1.11.0
2929
cd googletest # Main directory of the cloned repository.
3030
mkdir build # Create a directory to hold the build output.
3131
cd build

0 commit comments

Comments
 (0)