Test disagreement's two-text panic through disagreement itself

This commit is contained in:
2026-09-29 14:26:47 +02:00
committed by Lillem4n
parent 8fb3695fa9
commit ccc079a9ca
+2 -2
View File
@@ -221,6 +221,6 @@ func TestNullColumn(t *testing.T) {
}
}
func TestDisagreementFixRefusesTwoTextItems(t *testing.T) {
mustPanic(t, "two text items", func() { disagreementFix(kindText, kindText, false) })
func TestDisagreementRefusesTwoTextItems(t *testing.T) {
mustPanic(t, "two text items", func() { _ = disagreement(&template{}, DataTypeString, &template{}, DataTypeString) })
}