Move pattern matching on structs koan to the later pattern matching module
This commit is contained in:
@@ -8,7 +8,6 @@ defmodule StructsTests do
|
||||
nil,
|
||||
"Joe",
|
||||
33,
|
||||
{:multiple, [true, false]},
|
||||
{:ok, 22},
|
||||
%Structs.Airline{plane: %Structs.Plane{maker: :airbus}, name: "Southwest"},
|
||||
%Structs.Airline{plane: %Structs.Plane{maker: :boeing, passengers: 202}, name: "Southwest"},
|
||||
|
||||
Reference in New Issue
Block a user