Signed-off-by: chenyuzhu <chenyuzhi@oschina.cn>
| ... | ... |
@@ -13,7 +13,7 @@ import ( |
| 13 | 13 |
"github.com/sirupsen/logrus" |
| 14 | 14 |
) |
| 15 | 15 |
|
| 16 |
-// PatternMatcher allows checking paths agaist a list of patterns |
|
| 16 |
+// PatternMatcher allows checking paths against a list of patterns |
|
| 17 | 17 |
type PatternMatcher struct {
|
| 18 | 18 |
patterns []*Pattern |
| 19 | 19 |
exclusions bool |
| ... | ... |
@@ -198,7 +198,7 @@ var ( |
| 198 | 198 |
// Asima Chatterjee was an indian organic chemist noted for her research on vinca alkaloids, development of drugs for treatment of epilepsy and malaria - https://en.wikipedia.org/wiki/Asima_Chatterjee |
| 199 | 199 |
"chatterjee", |
| 200 | 200 |
|
| 201 |
- // Pafnuty Chebyshev - Russian mathematitian. He is known fo his works on probability, statistics, mechanics, analytical geometry and number theory https://en.wikipedia.org/wiki/Pafnuty_Chebyshev |
|
| 201 |
+ // Pafnuty Chebyshev - Russian mathematician. He is known fo his works on probability, statistics, mechanics, analytical geometry and number theory https://en.wikipedia.org/wiki/Pafnuty_Chebyshev |
|
| 202 | 202 |
"chebyshev", |
| 203 | 203 |
|
| 204 | 204 |
//Claude Shannon - The father of information theory and founder of digital circuit design theory. (https://en.wikipedia.org/wiki/Claude_Shannon) |
| ... | ... |
@@ -23,7 +23,7 @@ func TestWriteWithUninitializedStdWriter(t *testing.T) {
|
| 23 | 23 |
} |
| 24 | 24 |
n, err := writer.Write([]byte("Something here"))
|
| 25 | 25 |
if n != 0 || err == nil {
|
| 26 |
- t.Fatalf("Should fail when given an uncomplete or uninitialized StdWriter")
|
|
| 26 |
+ t.Fatalf("Should fail when given an incomplete or uninitialized StdWriter")
|
|
| 27 | 27 |
} |
| 28 | 28 |
} |
| 29 | 29 |
|