(t *testing.T)
| 54 | } |
| 55 | |
| 56 | func TestIdenticalContent(t *testing.T) { |
| 57 | content := "Hello world" |
| 58 | patch := CreatePatch(content, content) |
| 59 | if patch != "" { |
| 60 | t.Errorf("expected empty patch for identical content, got %q", patch) |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func TestIsDiffSmaller(t *testing.T) { |
| 65 | // Small change to large doc — diff should be smaller |
nothing calls this directly
no test coverage detected