Resolve used lazy options in ParserOptions::optionsHash()
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 26 Mar 2018 17:59:24 +0000 (13:59 -0400)
committerLegoktm <legoktm@member.fsf.org>
Tue, 15 May 2018 06:54:55 +0000 (06:54 +0000)
If a lazy option is passed to ParserOptions::optionsHash(), we should
resolve the option so the hash can incorporate the proper value instead
of omitting it.

Also, completely unrelatedly, refactor the hook overriding in the unit
test because people won't stop whining about it in code review.

Change-Id: I2df78ed90875c229090b503b65f20fbbbba7f237


No differences found