diff --git a/bin/test.rs b/bin/test.rs index be392ccf..2fd1b0b2 100644 --- a/bin/test.rs +++ b/bin/test.rs @@ -10,11 +10,16 @@ pub mod fixtures { NodeWithRepo::default() } - pub fn branch(node: &NodeWithRepo) -> BranchWith { + pub fn branch_with_eof_removed(node: &NodeWithRepo) -> BranchWith { let checkout = node.repo.checkout(); checkout.branch_with([("README", b"Hello World!")]) } + pub fn branch_with_line_added(node: &NodeWithRepo) -> BranchWith { + let checkout = node.repo.checkout(); + checkout.branch_with([("README", b"Hello World!\nHello World!\n")]) + } + pub fn patch<'a, 'g>( node: &'a NodeWithRepo, branch: &BranchWith,