@@ -39,7 +39,7 @@ func TestUdiff(t *testing.T) {
40 t.Run("ToUnifiedDiff", func(t *testing.T) {
40 t.Run("ToUnifiedDiff", func(t *testing.T) {
41 toUnifiedDiff := func(t *testing.T, before, after string, contextLines int) udiff.UnifiedDiff {
41 toUnifiedDiff := func(t *testing.T, before, after string, contextLines int) udiff.UnifiedDiff {
42− edits := myers.ComputeEdits(before, after)
42+ edits := myers.ComputeEdits(before, after) //nolint:staticcheck
43 unifiedDiff, err := udiff.ToUnifiedDiff("main.go", "main.go", before, edits, contextLines)
43 unifiedDiff, err := udiff.ToUnifiedDiff("main.go", "main.go", before, edits, contextLines)
44 if err != nil {
44 if err != nil {
45 t.Fatalf("ToUnifiedDiff failed: %v", err)
45 t.Fatalf("ToUnifiedDiff failed: %v", err)