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
284 * [ ] support for different backends like `files` and `reftable`284 * [ ] support for different backends like `files` and `reftable`
285* [ ] worktrees285* [ ] worktrees
286* [ ] remotes with push and pull286* [ ] remotes with push and pull
287* [ ] mailmap
287* [ ] configuration288* [ ] configuration
288* [ ] merging289* [ ] merging
289* [ ] stashing290* [ ] stashing
git-ref/tests/file/transaction.rs+4−2
@@ -106,7 +106,6 @@ mod prepare_and_commit { · 105 unmodified lines
106 }106 }
107 107
108 #[test]108 #[test]
109 #[should_panic]
110 fn delete_a_ref_which_is_gone_but_must_exist_fails() {109 fn delete_a_ref_which_is_gone_but_must_exist_fails() {
111 let store = empty_store(WriteReflog::Normal).unwrap();110 let store = empty_store(WriteReflog::Normal).unwrap();
112 let res = store111 let res = store
@@ -122,7 +121,10 @@ mod prepare_and_commit { · 9 unmodified lines
122 .commit();121 .commit();
123 match res {122 match res {
124 Ok(_) => unreachable!("must exist, but it doesn't actually exist"),123 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 ),
126 }128 }
127 }129 }
128 130

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