testmark-go

testexec: fix typo in error message.

commit 7e467bf95e817107e3148304077601aee1a208a0 · parent 99fe56e312 · browse this tree
Eric Myhre, 2021-10-21 19:52:05 UTC

diff --git a/testexec/testexec.go b/testexec/testexec.go
index d7214bc..6acc0e6 100644
--- a/testexec/testexec.go
+++ b/testexec/testexec.go
@@ -171,7 +171,7 @@ func (tcfg Tester) test(t *testing.T, data testmark.DirEnt, allowExec, allowScri
 		t.Skipf("found sequence hunk but the test framework was invoked without permission to run those")
 	}
 	if scriptMode && !allowScript {
-		t.Skipf("found sequence hunk but the test framework was invoked without permission to run those")
+		t.Skipf("found script hunk but the test framework was invoked without permission to run those")
 	}
 	if *testmark.Regen && tcfg.Patches == nil {
 		t.Logf("warning: testmark.regen mode engaged, but there is no patch accumulator available here")