|
|
@@ -239,6 +239,11 @@ func (s *E2eSuite) TestDisplaysAdditionalLineInDockerVersion() {
|
|
|
Expect(output).To(ContainSubstring("Azure integration"))
|
|
|
}
|
|
|
|
|
|
+func (s *E2eSuite) TestAllowsFormatFlagInVersion() {
|
|
|
+ s.NewDockerCommand("version", "-f", "{{ json . }}").ExecOrDie()
|
|
|
+ s.NewDockerCommand("version", "--format", "{{ json . }}").ExecOrDie()
|
|
|
+}
|
|
|
+
|
|
|
func (s *E2eSuite) TestMockBackend() {
|
|
|
It("creates a new test context to hardcoded example backend", func() {
|
|
|
s.NewDockerCommand("context", "create", "example", "test-example").ExecOrDie()
|