MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / TestIsDiffSmallerEmptyContent

Function TestIsDiffSmallerEmptyContent

internal/diff/diff_test.go:81–85  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

79}
80
81func TestIsDiffSmallerEmptyContent(t *testing.T) {
82 if IsDiffSmaller("some patch", "") {
83 t.Error("expected false for empty content")
84 }
85}
86
87func TestChainedReversePatches(t *testing.T) {
88 // Simulate version chain: v1 → v2 → v3 (current)

Callers

nothing calls this directly

Calls 2

IsDiffSmallerFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected