package qso

import "testing"

// TestArgsMatchesColumnCount makes sure args() stays in lock-step with columnList.
// If you add or remove a column in columnList, you MUST add or remove the
// matching field in args() — this test catches drift the compiler can't.
func TestArgsMatchesColumnCount(t *testing.T) {
	q := QSO{}
	args := q.args()
	if len(args) != columnCount {
		t.Fatalf("args() returns %d values, columnList has %d columns", len(args), columnCount)
	}
}
