Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
Update tests to show it still works without suffix
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
  • Loading branch information
vdemeester committed Dec 31, 2016
1 parent ba184a1 commit a5aaaf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func TestParseWithMultipleComposeFiles(t *testing.T) {
multiple:
image: busybox
mem_limit: "40m"
memswap_limit: 40000000
ports:
- 10000`)

Expand Down Expand Up @@ -244,4 +245,5 @@ func TestParseWithMultipleComposeFiles(t *testing.T) {
assert.Equal(t, "multi", multipleConfig.ContainerName)
assert.Equal(t, []string{"8000", "9000", "10000"}, multipleConfig.Ports)
assert.Equal(t, yaml.MemStringorInt(41943040), multipleConfig.MemLimit)
assert.Equal(t, yaml.MemStringorInt(40000000), multipleConfig.MemSwapLimit)
}

0 comments on commit a5aaaf2

Please sign in to comment.