Skip to content

Commit 467395f

Browse files
committed
[ref] fix build (bad find&replace)
1 parent 321908e commit 467395f

File tree

1 file changed

+1
-4
lines changed
  • git-object/tests/immutable

1 file changed

+1
-4
lines changed

git-object/tests/immutable/tag.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ mod method {
99
fn target() -> crate::Result {
1010
let fixture = fixture_bytes("tag", "signed.txt");
1111
let tag = Tag::from_bytes(&fixture)?;
12-
assert_eq!(
13-
tag.target.borrow(),
14-
hex_to_id("ffa700b4aca13b80cb6b98a078e7c96804f8e0ec")
15-
);
12+
assert_eq!(tag.target(), hex_to_id("ffa700b4aca13b80cb6b98a078e7c96804f8e0ec"));
1613
assert_eq!(tag.target, "ffa700b4aca13b80cb6b98a078e7c96804f8e0ec".as_bytes());
1714
Ok(())
1815
}

0 commit comments

Comments
 (0)