ash-project / igniter

A code generation and project patching framework.
https://hexdocs.pm/igniter/readme.html
MIT License
155 stars 20 forks source link

improvement: add failing config tests #77

Closed ibarakaiev closed 2 months ago

ibarakaiev commented 2 months ago

Contributor checklist

Adding two failing tests for the Config.configure/6 function. The first has to do with nesting (seems like there's still a bug lurking around). The second one has to do with injecting quoted code.

Currently, the first test fails with:

error: syntax error before: '=>'
         │
       2 │ config :level1, :level2, level3: ["hello1" => "world1"]

and the second fails with no matching function clause error.

zachdaniel commented 2 months ago

Will merge and see what can be done.