History

[ref] another test green

Sebastian Thiel committed 5 years ago

Commit 104598e1 parent 3445d7d2 files · +5 −2Browse files

Unified · Split

2 files
  1. crate-status.md +1 −0
  2. git-ref/tests/file/transaction.rs +4 −2
crate-status.md+1−0
@@ -284,6 +284,7 @@ Use lock-files in the way git does with auto-cleanup being the most notable feat · 283 unmodified lines
284284 * [ ] support for different backends like `files` and `reftable`
285285 * [ ] worktrees
286286 * [ ] remotes with push and pull
287+* [ ] mailmap
287288 * [ ] configuration
288289 * [ ] merging
289290 * [ ] stashing
git-ref/tests/file/transaction.rs+4−2
@@ -106,7 +106,6 @@ mod prepare_and_commit { · 105 unmodified lines
106106 }
107107
108108 #[test]
109− #[should_panic]
110109 fn delete_a_ref_which_is_gone_but_must_exist_fails() {
111110 let store = empty_store(WriteReflog::Normal).unwrap();
112111 let res = store
@@ -122,7 +121,10 @@ mod prepare_and_commit { · 9 unmodified lines
122121 .commit();
123122 match res {
124123 Ok(_) => unreachable!("must exist, but it doesn't actually exist"),
125− Err(err) => assert_eq!(err.to_string(), "hello err"),
124+ Err(err) => assert_eq!(
125+ err.to_string(),
126+ "The reference 'DOES_NOT_EXIST' for deletion did not exist"
127+ ),
126128 }
127129 }
128130

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t