Skip to content

Commit

Permalink
Remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
langyb committed Sep 2, 2020
1 parent 15b44ab commit 6903947
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions unittest/test_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package unittest_test

import (
"bytes"
"fmt"
"regexp"
"sort"
"strings"
Expand All @@ -18,7 +17,6 @@ var timePattern = regexp.MustCompile("Time:\\s+([\\d\\.]+)(s|ms)")

func makeOutputSnapshotable(originalOutput string) []interface{} {
output := strings.ReplaceAll(originalOutput, "\\", "/")
fmt.Println(output)
timeLoc := timePattern.FindStringSubmatchIndex(output)[2:4]
timeAgnosticOutput := output[:timeLoc[0]] + "XX.XXX" + output[timeLoc[1]:]

Expand Down

0 comments on commit 6903947

Please sign in to comment.