Skip to content

Commit 7301d39

Browse files
authoredFeb 10, 2025
fix: typos in API docs and test files (#1604)
- Fix "fuzzier" to "fuzzer" in test/fuzz/README.md - Fix "typologoy" to "topology" in test/e2e/generator/generate.go
1 parent 511badf commit 7301d39

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎test/e2e/generator/generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func generateTestnet(r *rand.Rand, opt map[string]interface{}, upgradeVersion st
149149
return manifest, fmt.Errorf("unknown topology %q", opt["topology"])
150150
}
151151

152-
if opt["typologoy"].(string) == "large_partially_connected" {
152+
if opt["topology"].(string) == "large_partially_connected" {
153153
// currently this is at max 11 and minimum 4
154154
totalPossibleConnections := numSeeds + numValidators + numFulls - 1
155155
// this value should be between 3 and 2

‎test/fuzz/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Inputs:
2222
| |- <testname>.go
2323
```
2424

25-
`/corpus` directory contains corpus data. The idea is to help the fuzzier to
25+
`/corpus` directory contains corpus data. The idea is to help the fuzzer to
2626
understand what bytes sequences are semantically valid (e.g. if we're testing
2727
PNG decoder, then we would put black-white PNG into corpus directory; with
2828
blockchain reactor - we would put blockchain messages into corpus).
@@ -31,7 +31,7 @@ blockchain reactor - we would put blockchain messages into corpus).
3131

3232
`/testdata` directory may contain an additional data (like `addrbook.json`).
3333

34-
Upon running the fuzzier, `/crashers` and `/suppressions` dirs will be created,
34+
Upon running the fuzzer, `/crashers` and `/suppressions` dirs will be created,
3535
along with <testname>.zip archive. `/crashers` will show any inputs, which have
3636
lead to panics (plus a trace). `/suppressions` will show any suppressed inputs.
3737

0 commit comments

Comments
 (0)