tests improved
This commit is contained in:
@@ -33,20 +33,6 @@ func runCtxTestSuiteSpec(t *testing.T, ctx ExprContext, section string, inputs [
|
||||
|
||||
func runTestSuiteSpec(t *testing.T, section string, inputs []inputType, spec ...int) {
|
||||
runCtxTestSuiteSpec(t, nil, section, inputs, spec...)
|
||||
/*
|
||||
succeeded := 0
|
||||
failed := 0
|
||||
for _, count := range spec {
|
||||
good := doTest(t, nil, section, &inputs[count-1], count)
|
||||
|
||||
if good {
|
||||
succeeded++
|
||||
} else {
|
||||
failed++
|
||||
}
|
||||
}
|
||||
t.Logf("%s -- test count: %d, succeeded: %d, failed: %d", section, len(spec), succeeded, failed)
|
||||
*/
|
||||
}
|
||||
|
||||
func runCtxTestSuite(t *testing.T, ctx ExprContext, section string, inputs []inputType) {
|
||||
|
||||
Reference in New Issue
Block a user