...

Text file src/cmd/internal/test2json/testdata/benchshort.json

Documentation: cmd/internal/test2json/testdata

     1{"Action":"start"}
     2{"Action":"output","Output":"# This file ends in an early EOF to trigger the Benchmark prefix test,\n"}
     3{"Action":"output","Output":"# which only happens when a benchmark prefix is seen ahead of the \\n.\n"}
     4{"Action":"output","Output":"# Normally that's due to the benchmark running and the \\n coming later,\n"}
     5{"Action":"output","Output":"# but to avoid questions of timing, we just use a file with no \\n at all.\n"}
     6{"Action":"output","Output":"BenchmarkFoo   \t"}
     7{"Action":"output","Output":"10000 early EOF"}

View as plain text