Skip to content

Commit 872f316

Browse files
authored
chore: fix some typos in comments (#1076)
Signed-off-by: pennylees <[email protected]>
1 parent 8496dce commit 872f316

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

mobile_packet_verifier/tests/integrations/banning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async fn extremities_of_banning(pool: PgPool) -> anyhow::Result<()> {
8585

8686
assert!(banned.contains(&banned_before), "banned before");
8787
assert!(banned.contains(&banned_on_start), "banned on start");
88-
assert!(banned.contains(&banned_within), "banned wthin");
88+
assert!(banned.contains(&banned_within), "banned within");
8989
assert!(!banned.contains(&banned_on_end), "banned on end");
9090
assert!(!banned.contains(&banned_after), "banned after");
9191

mobile_verifier/src/heartbeats/last_location.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ mod tests {
203203
(
204204
$1, $2, $3, $4, $5,
205205
206-
-- harcoded values
206+
-- hardcoded values
207207
0.0, 0.0, 'novagenericwifiindoor', 0, 1000
208208
)
209209
"#,

mobile_verifier/tests/integrations/banning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async fn extremities_of_banning(pool: PgPool) -> anyhow::Result<()> {
100100

101101
assert!(banned.is_poc_banned(&banned_before), "banned before");
102102
assert!(banned.is_poc_banned(&banned_on_start), "banned on start");
103-
assert!(banned.is_poc_banned(&banned_within), "banned wthin");
103+
assert!(banned.is_poc_banned(&banned_within), "banned within");
104104
assert!(!banned.is_poc_banned(&banned_on_end), "banned on end");
105105
assert!(!banned.is_poc_banned(&banned_after), "banned after");
106106

mobile_verifier/tests/integrations/hex_boosting.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async fn test_poc_with_boosted_hexes(pool: PgPool) -> anyhow::Result<()> {
5959

6060
// seed all the things
6161
let mut txn = pool.clone().begin().await?;
62-
// seed HBs where we have a coverage reports for a singluar hex location per radio
62+
// seed HBs where we have a coverage reports for a singular hex location per radio
6363
seed_heartbeats_v1(reward_info.epoch_period.start, &mut txn).await?;
6464
seed_speedtests(reward_info.epoch_period.end, &mut txn).await?;
6565
seed_unique_connections(reward_info.epoch_period.start, &mut txn).await?;
@@ -212,7 +212,7 @@ async fn test_poc_boosted_hexes_unique_connections_not_seeded(pool: PgPool) -> a
212212

213213
// seed all the things
214214
let mut txn = pool.clone().begin().await?;
215-
// seed HBs where we have a coverage reports for a singluar hex location per radio
215+
// seed HBs where we have a coverage reports for a singular hex location per radio
216216
seed_heartbeats_v1(epoch.start, &mut txn).await?;
217217
seed_speedtests(epoch.end, &mut txn).await?;
218218
txn.commit().await?;

0 commit comments

Comments
 (0)