Skip to content

Commit

Permalink
Merge pull request golang#766 from dtan4/gopkg-toml-trailing-spaces
Browse files Browse the repository at this point in the history
Remove trailing spaces from generated Gopkg.toml
  • Loading branch information
darkowlzz authored Jun 19, 2017
2 parents dbd910b + 672b66b commit c79b048
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
Expand Down
6 changes: 3 additions & 3 deletions testdata/txn_writer/expected_manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
Expand Down
6 changes: 3 additions & 3 deletions txn_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ var exampleTOML = []byte(`
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
Expand Down

0 comments on commit c79b048

Please sign in to comment.