Skip to content

Commit

Permalink
lib: fix various typos
Browse files Browse the repository at this point in the history
This commit fixes typos unintentionally introduced in d9c68e0, when
renaming `jj branch` to `jj bookmark`.
  • Loading branch information
bnjmnt4n committed Dec 20, 2024
1 parent 7963536 commit dddeb8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/src/dag_walk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl<T: Ord, ID: Hash + Eq + Clone, E> TopoOrderReverseLazyInner<T, ID, E> {
}
}

/// Splits DAG at single fork point, and extracts bookmarky part as sub graph.
/// Splits DAG at single fork point, and extracts branchy part as sub graph.
///
/// ```text
/// o | C
Expand Down Expand Up @@ -1067,7 +1067,7 @@ mod tests {
}

#[test]
fn test_topo_order_reverse_cycle_to_bookmarky_sub_graph() {
fn test_topo_order_reverse_cycle_to_branchy_sub_graph() {
// This graph:
// o D
// |\
Expand Down
4 changes: 2 additions & 2 deletions lib/tests/test_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ fn test_reparent_range_linear() {
}

#[test]
fn test_reparent_range_bookmarky() {
fn test_reparent_range_branchy() {
let settings = testutils::user_settings();
let test_repo = TestRepo::init();
let repo_0 = test_repo.repo;
Expand All @@ -297,7 +297,7 @@ fn test_reparent_range_bookmarky() {
parents.try_into().unwrap()
}

// Set up bookmarky operation graph:
// Set up branchy operation graph:
// G
// |\
// | F
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/test_rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ fn test_rebase_descendants_backward() {
}

#[test]
fn test_rebase_descendants_chain_becomes_bookmarky() {
fn test_rebase_descendants_chain_becomes_branchy() {
let settings = testutils::user_settings();
let test_repo = TestRepo::init();
let repo = &test_repo.repo;
Expand Down

0 comments on commit dddeb8b

Please sign in to comment.