Commit 401865a1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent dc206440
...@@ -1063,9 +1063,9 @@ func testΔBTail(t *testing.T, testq chan ΔBTestEntry) { ...@@ -1063,9 +1063,9 @@ func testΔBTail(t *testing.T, testq chan ΔBTestEntry) {
subj := fmt.Sprintf("%s -> %s", t1.tree, t2.tree) subj := fmt.Sprintf("%s -> %s", t1.tree, t2.tree)
tracef("\n\n\n**** %s ****\n\n", subj) tracef("\n\n\n**** %s ****\n\n", subj)
// kadj // KAdj
if kadjOK := test.kadjOK; kadjOK != nil { if kadjOK := test.kadjOK; kadjOK != nil {
t.Run(fmt.Sprintf("kadj/%s→%s", t1.tree, t2.tree), func(t *testing.T) { t.Run(fmt.Sprintf("KAdj/%s→%s", t1.tree, t2.tree), func(t *testing.T) {
kadj := KAdj(t1, t2) kadj := KAdj(t1, t2)
if !reflect.DeepEqual(kadj, kadjOK) { if !reflect.DeepEqual(kadj, kadjOK) {
t.Fatalf("BUG: computed kadj is wrong:\nkadjOK: %v\nkadj : %v\n\n", kadjOK, kadj) t.Fatalf("BUG: computed kadj is wrong:\nkadjOK: %v\nkadj : %v\n\n", kadjOK, kadj)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment