sort-cli #1

Merged
grachevko merged 2 commits from sort-cli into master 2024-01-27 11:54:28 +00:00
5 changed files with 310 additions and 0 deletions
Showing only changes of commit 29fea2773f - Show all commits

View File

@ -55,3 +55,12 @@ func TestFlags(t *testing.T) {
})
}
}
func BenchmarkRun(b *testing.B) {
for i := 0; i < b.N; i++ {
flag.CommandLine = flag.NewFlagSet("Bench", flag.ExitOnError)
os.Args = append([]string{"Bench"}, "testdata/first")
_ = run()
}
}