Ignore build output, removed some profiling code.

This commit is contained in:
Maurice Makaay 2019-06-30 10:15:39 +00:00
parent a28269800a
commit c67a91b1ca
4 changed files with 2 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
# Build output # Build output
cmd/toml-test-decoder/toml-test-decoder cmd/burntsushi-tester/burntsushi-tester
# ---> Vim # ---> Vim
# Swap # Swap

View File

@ -32,7 +32,7 @@ func main() {
flag.Usage() flag.Usage()
} }
toml, err := parse.Run(os.Stdin) toml, err := parse.RunWithoutSanityChecks(os.Stdin)
if err != nil { if err != nil {
log.Fatalf("Error decoding TOML: %s", err) log.Fatalf("Error decoding TOML: %s", err)
} else { } else {

View File

@ -14,7 +14,6 @@ import (
"time" "time"
"git.makaay.nl/mauricem/go-toml/parse" "git.makaay.nl/mauricem/go-toml/parse"
"github.com/pkg/profile"
) )
func Test_Invalid(t *testing.T) { func Test_Invalid(t *testing.T) {
@ -38,7 +37,6 @@ func Test_Invalid(t *testing.T) {
} }
func Test_Valid(t *testing.T) { func Test_Valid(t *testing.T) {
defer profile.Start().Stop()
for _, suite := range getTestSuites("valid") { for _, suite := range getTestSuites("valid") {
success := 0 success := 0
fail := 0 fail := 0