Skip to content

Commit adeb50d

Browse files
committed
trim_ascii_end
1 parent f91aa10 commit adeb50d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git2-hooks/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ exit 0
334334
} = result
335335
{
336336
assert_eq!(code, Some(42));
337-
assert_eq!(stdout.as_str().trim_end(), TEXT);
338-
assert!(stderr.is_empty());
339337
assert_eq!(h, hook.hook);
338+
assert_eq!(stdout.as_str().trim_ascii_end(), TEXT);
339+
assert!(stderr.is_empty());
340340
} else {
341341
panic!("run_hook should've failed");
342342
}

0 commit comments

Comments
 (0)