Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ test_diff_empty
Function
test_diff_empty
crates/opencode-session/src/session.rs:1452–1456 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1450
1451
#[test]
1452
fn test_diff_empty() {
1453
let session = Session::new(
"project-1"
,
"/path"
);
1454
let diffs = session.diff();
1455
assert!(diffs.is_empty());
1456
}
1457
1458
#[test]
1459
fn test_diff_with_summary() {
Callers
nothing calls this directly
Calls
2
new
Function · 0.85
diff
Method · 0.45
Tested by
no test coverage detected