diff options
author | ale <ale@incal.net> | 2019-10-07 16:40:51 +0200 |
---|---|---|
committer | ale <ale@incal.net> | 2019-10-07 16:40:51 +0200 |
commit | a67708b7af20483dafc126ea85e6a7eeec965776 (patch) | |
tree | a9e8d5df127f88b9059b7762f14dfaa9c3d95ebd /vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go | |
parent | 6dc36ab41a50a22ccbc75c55e47326998c9f4bc0 (diff) | |
download | crawl-a67708b7af20483dafc126ea85e6a7eeec965776.tar.gz crawl-a67708b7af20483dafc126ea85e6a7eeec965776.zip |
Add a vendor dependency used for tests
Diffstat (limited to 'vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go')
-rw-r--r-- | vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go new file mode 100644 index 0000000..fe98dcc --- /dev/null +++ b/vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go @@ -0,0 +1,17 @@ +// Copyright 2017, 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.md file. + +// +build !cmp_debug + +package diff + +var debug debugger + +type debugger struct{} + +func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc { + return f +} +func (debugger) Update() {} +func (debugger) Finish() {} |