Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit c79b048

Browse files
authored
Merge pull request #766 from dtan4/gopkg-toml-trailing-spaces
Remove trailing spaces from generated Gopkg.toml
2 parents dbd910b + 672b66b commit c79b048

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

‎cmd/dep/testdata/harness_tests/ensure/empty/case1/final/Gopkg.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
#
77
# required = ["github.com/user/thing/cmd/thing"]
88
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9-
#
9+
#
1010
# [[constraint]]
1111
# name = "github.com/user/project"
1212
# version = "1.0.0"
13-
#
13+
#
1414
# [[constraint]]
1515
# name = "github.com/user/project2"
1616
# branch = "dev"
1717
# source = "github.com/myfork/project2"
18-
#
18+
#
1919
# [[override]]
2020
# name = "github.com/x/y"
2121
# version = "2.4.0"

‎cmd/dep/testdata/harness_tests/ensure/override/case1/final/Gopkg.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
#
77
# required = ["github.com/user/thing/cmd/thing"]
88
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9-
#
9+
#
1010
# [[constraint]]
1111
# name = "github.com/user/project"
1212
# version = "1.0.0"
13-
#
13+
#
1414
# [[constraint]]
1515
# name = "github.com/user/project2"
1616
# branch = "dev"
1717
# source = "github.com/myfork/project2"
18-
#
18+
#
1919
# [[override]]
2020
# name = "github.com/x/y"
2121
# version = "2.4.0"

‎testdata/txn_writer/expected_manifest.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
#
77
# required = ["github.com/user/thing/cmd/thing"]
88
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9-
#
9+
#
1010
# [[constraint]]
1111
# name = "github.com/user/project"
1212
# version = "1.0.0"
13-
#
13+
#
1414
# [[constraint]]
1515
# name = "github.com/user/project2"
1616
# branch = "dev"
1717
# source = "github.com/myfork/project2"
18-
#
18+
#
1919
# [[override]]
2020
# name = "github.com/x/y"
2121
# version = "2.4.0"

‎txn_writer.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ var exampleTOML = []byte(`
3131
#
3232
# required = ["github.com/user/thing/cmd/thing"]
3333
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
34-
#
34+
#
3535
# [[constraint]]
3636
# name = "github.com/user/project"
3737
# version = "1.0.0"
38-
#
38+
#
3939
# [[constraint]]
4040
# name = "github.com/user/project2"
4141
# branch = "dev"
4242
# source = "github.com/myfork/project2"
43-
#
43+
#
4444
# [[override]]
4545
# name = "github.com/x/y"
4646
# version = "2.4.0"

0 commit comments

Comments
 (0)