Skip to content

Commit 7703743

Browse files
committed
chore: fix minor spelling mistakes
1 parent cb53532 commit 7703743

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git2-hooks/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ exit 0
340340
}
341341

342342
#[test]
343-
fn test_other_path_precendence() {
343+
fn test_other_path_precedence() {
344344
let (td, repo) = repo_init();
345345

346346
{
@@ -456,7 +456,7 @@ exit 1
456456
fn test_pre_commit_py() {
457457
let (_td, repo) = repo_init();
458458

459-
// mirror how python pre-commmit sets itself up
459+
// mirror how python pre-commit sets itself up
460460
#[cfg(not(windows))]
461461
let hook = b"#!/usr/bin/env python
462462
import sys
@@ -477,7 +477,7 @@ sys.exit(0)
477477
fn test_pre_commit_fail_py() {
478478
let (_td, repo) = repo_init();
479479

480-
// mirror how python pre-commmit sets itself up
480+
// mirror how python pre-commit sets itself up
481481
#[cfg(not(windows))]
482482
let hook = b"#!/usr/bin/env python
483483
import sys

0 commit comments

Comments
 (0)