Skip to content

Commit

Permalink
Added / to buildpack.id in a test fixture
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
  • Loading branch information
jkutner committed Nov 30, 2018
1 parent f64b220 commit 0319f42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions create_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ func checkGroups(t *testing.T, groups []lifecycle.BuildpackGroup) {
Version: "1.2.3",
},
{
ID: "some.bp2",
ID: "some/bp2",
Version: "1.2.4",
},
}},
Expand All @@ -462,12 +462,12 @@ func checkBuildpacks(t *testing.T, buildpacks []pack.Buildpack) {
// Latest will default to false
},
{
ID: "some.bp2",
ID: "some/bp2",
Dir: filepath.Join("testdata", "some-path-2"),
Latest: false,
},
{
ID: "some.bp2",
ID: "some/bp2",
Dir: filepath.Join("testdata", "some-latest-path-2"),
Latest: true,
},
Expand Down
6 changes: 3 additions & 3 deletions testdata/builder.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id = "some.bp1"
uri = "some-path-1"

[[buildpacks]]
id = "some.bp2"
id = "some/bp2"
uri = "some-path-2"

[[buildpacks]]
id = "some.bp2"
id = "some/bp2"
uri = "some-latest-path-2"
latest = true

[[groups]]
buildpacks = [
{ id = "some.bp1", version = "1.2.3" },
{ id = "some.bp2", version = "1.2.4" },
{ id = "some/bp2", version = "1.2.4" },
]

[[groups]]
Expand Down

0 comments on commit 0319f42

Please sign in to comment.