summaryrefslogtreecommitdiff
path: root/cmd/podman/run_test.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-05-24 17:50:37 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-25 08:45:15 +0000
commit684b544e9c45129a3d8112cfab22526440d8fd13 (patch)
tree8aa092161773f0bb171b6e15cffd5d468a1b4b88 /cmd/podman/run_test.go
parenta7180cd5459ca063c14a60965b4487f04c0af439 (diff)
downloadpodman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.gz
podman-684b544e9c45129a3d8112cfab22526440d8fd13.tar.bz2
podman-684b544e9c45129a3d8112cfab22526440d8fd13.zip
Spell check strings and comments
Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #831 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/run_test.go')
-rw-r--r--cmd/podman/run_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/run_test.go b/cmd/podman/run_test.go
index e2d500187..93e42f5bd 100644
--- a/cmd/podman/run_test.go
+++ b/cmd/podman/run_test.go
@@ -88,7 +88,7 @@ func getRuntimeSpec(c *cli.Context) (*spec.Spec, error) {
return runtimeSpec, nil
}
-// TestPIDsLimit verifies the inputed pid-limit is correctly defined in the spec
+// TestPIDsLimit verifies the inputted pid-limit is correctly defined in the spec
func TestPIDsLimit(t *testing.T) {
a := createCLI()
args := []string{"--pids-limit", "22"}
@@ -100,7 +100,7 @@ func TestPIDsLimit(t *testing.T) {
assert.Equal(t, runtimeSpec.Linux.Resources.Pids.Limit, int64(22))
}
-// TestBLKIOWeightDevice verifies the inputed blkio weigh device is correctly defined in the spec
+// TestBLKIOWeightDevice verifies the inputted blkio weigh device is correctly defined in the spec
func TestBLKIOWeightDevice(t *testing.T) {
a := createCLI()
args := []string{"--blkio-weight-device", "/dev/zero:100"}
@@ -112,7 +112,7 @@ func TestBLKIOWeightDevice(t *testing.T) {
assert.Equal(t, *runtimeSpec.Linux.Resources.BlockIO.WeightDevice[0].Weight, uint16(100))
}
-// TestMemorySwap verifies that the inputed memory swap is correctly defined in the spec
+// TestMemorySwap verifies that the inputted memory swap is correctly defined in the spec
func TestMemorySwap(t *testing.T) {
a := createCLI()
args := []string{"--memory-swap", "45m", "--memory", "40m"}