Skip to content

Commit 2228ab0

Browse files
committed
format changes
1 parent 5f44c78 commit 2228ab0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/ex_docker_build/cli.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defmodule ExDockerBuild.CLI do
22
def main([]) do
3-
IO.puts "You forgot to pass the path to the Dockerfile"
3+
IO.puts("You forgot to pass the path to the Dockerfile")
44
end
55

66
def main([args | _]) do

test/integration/docker_build_test.exs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ defmodule ExDockerBuild.Integration.DockerBuildTest do
227227
capture_log(fn ->
228228
assert {:ok, image_id} = DockerBuild.build(instructions, "")
229229
end)
230+
230231
assert log =~ "STEP 1/4 : FROM alpine:latest"
231232
assert log =~ "pulling image alpine:latest"
232233
assert log =~ "STEP 2/4 : ARG tag=\"latest\""
@@ -248,6 +249,7 @@ defmodule ExDockerBuild.Integration.DockerBuildTest do
248249
capture_log(fn ->
249250
assert {:ok, image_id} = DockerBuild.build(instructions, "")
250251
end)
252+
251253
assert log =~ "STEP 1/6 : FROM alpine:latest"
252254
assert log =~ "pulling image alpine:latest"
253255
assert log =~ "STEP 2/6 : ARG tag=\"latest\""

0 commit comments

Comments
 (0)