You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also researched issue #8 that you referenced. I reintroduced this issue when I repackaged ex_cldr into several smaller dependencies. Reintroducing an old bug is definitely not great.
I haven't found a good way to test for this specific error since I don't know how to ensure a test has a "no modules loaded yet" state to start with. I've added some tests for the negative case (i.e. raises error on invalid currency code in the sigil).
I'll ask the forums help for a way to unload all modules before a test runs - if you have any thoughts they'd be appreciated.
Since the implementation of
Money.Sigil
relies onString.to_existing_atom/1
it can't be used without former usage of the atom for the currency:I've noticed this similar issue, but the fix got removed later.
The text was updated successfully, but these errors were encountered: