Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrBeanCpp/MIT
/ test_commit_empty
Function
test_commit_empty
src/commands/commit.rs:48–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
#[test]
47
#[should_panic]
48
fn test_commit_empty() {
49
test_util::setup_test_with_empty_workdir();
50
super::commit(
""
.to_string(), false);
51
}
52
53
#[test]
54
fn test_commit() {
Callers
nothing calls this directly
Calls
2
setup_test_with_empty_workdir
Function · 0.85
commit
Function · 0.85
Tested by
no test coverage detected