Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
+2
-13
@@ -221,17 +221,6 @@ func TestNullColumn(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDisagreementsHoldEveryKeyDisagreementBuilds(t *testing.T) {
|
func TestDisagreementFixRefusesTwoTextItems(t *testing.T) {
|
||||||
kinds := []itemKind{kindText, kindReads, kindDeclares}
|
mustPanic(t, "two text items", func() { disagreementFix(kindText, kindText, false) })
|
||||||
for _, fix := range kinds {
|
|
||||||
for _, other := range kinds[fix:] {
|
|
||||||
if other == kindText {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
for _, proven := range []bool{false, true} {
|
|
||||||
disagreementFix(disagreementKey{fix, other, proven})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
mustPanic(t, "two text items", func() { disagreementFix(disagreementKey{kindText, kindText, false}) })
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user