Test disagreement's two-text panic through disagreement itself
This commit is contained in:
+2
-2
@@ -221,6 +221,6 @@ func TestNullColumn(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDisagreementFixRefusesTwoTextItems(t *testing.T) {
|
func TestDisagreementRefusesTwoTextItems(t *testing.T) {
|
||||||
mustPanic(t, "two text items", func() { disagreementFix(kindText, kindText, false) })
|
mustPanic(t, "two text items", func() { _ = disagreement(&template{}, DataTypeString, &template{}, DataTypeString) })
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user