Changed to a single line, so its consistent with other sections
This commit is contained in:
@@ -61,12 +61,7 @@ defmodule Structs do
|
|||||||
end
|
end
|
||||||
|
|
||||||
koan "Use the put_in macro with atoms to replace a nested value in a non-struct" do
|
koan "Use the put_in macro with atoms to replace a nested value in a non-struct" do
|
||||||
airline = %{
|
airline = %{plane: %{maker: :boeing}, name: "Southwest"}
|
||||||
plane: %{
|
|
||||||
maker: :boeing
|
|
||||||
},
|
|
||||||
name: "Southwest"
|
|
||||||
}
|
|
||||||
assert put_in(airline[:plane][:maker], :cessna) == ___
|
assert put_in(airline[:plane][:maker], :cessna) == ___
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user