magiconair / properties

Java properties scanner for Go
BSD 2-Clause "Simplified" License
323 stars 77 forks source link

Update keys when DisableExpansion is enabled #24

Closed mgurov closed 7 years ago

mgurov commented 7 years ago

I noticed that when a property added after the expansion is disabled, it is missed in the full printout by String()

magiconair commented 7 years ago

@mgurov Thanks for finding this! I've refactored the test a bit to make this more obvious. The fact that you were using String() was throwing me off a bit, initially.