cabbage-ex / cabbage

Story BDD tool for executing elixir in ExUnit
MIT License
138 stars 33 forks source link

when processing state updates, the new state would not update the old state #9

Closed shdblowers closed 7 years ago

shdblowers commented 7 years ago

Because of the way Map.merge/2 works, the new state would not update the old state.

Map.merge/2

Also added a test covering this logic.

mgwidmann commented 7 years ago

Oh yeah, the order does make a difference. Thanks!

mgwidmann commented 7 years ago

I'll release a 0.2.1 tonight

mgwidmann commented 7 years ago

v0.2.1 released on hex! Thanks again!