mirror of
https://github.com/golang/go
synced 2024-11-18 16:54:43 -07:00
db1ebf78a8
This now checks at the diff.TextEdit layer rather than myers.Op Change-Id: I706657a6c5705f0ad7109aa81f4dce174dda5f2b Reviewed-on: https://go-review.googlesource.com/c/tools/+/198380 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
17 lines
373 B
Go
17 lines
373 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package myers_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"golang.org/x/tools/internal/lsp/diff/difftest"
|
|
"golang.org/x/tools/internal/lsp/diff/myers"
|
|
)
|
|
|
|
func TestDiff(t *testing.T) {
|
|
difftest.DiffTest(t, myers.ComputeEdits)
|
|
}
|