@ 240413.1 · fetching

230819.1.11 · 34b954da7f5f915beea36c99adf480868cb762be

Merge branch 'master' into coverage

reading declarations

Changes to step_test.go. All files

step_test.go

@@ -460,10 +460,10 @@ func TestStepStringSentence(t *testing.T) {  // Benchmark the use of the [Step] function. func BenchmarkStepBytes(b *testing.B) {-	str := []byte(benchmarkStr) 	for i := 0; i < b.N; i++ { 		var c []byte 		state := -1+		str := benchmarkBytes 		for len(str) > 0 { 			c, str, _, state = Step(str, state) 			resultRunes = []rune(string(c))@@ -473,10 +473,10 @@ func BenchmarkStepBytes(b *testing.B) {  // Benchmark the use of the StepString() function. func BenchmarkStepString(b *testing.B) {-	str := benchmarkStr 	for i := 0; i < b.N; i++ { 		var c string 		state := -1+		str := benchmarkStr 		for len(str) > 0 { 			c, str, _, state = StepString(str, state) 			resultRunes = []rune(c)