* * * * *
I can't believe I didn't think of that sooner
Last week I was tasked with running the regession test for “Project: Sippy-
Cup [1]” and figure out any issues. Trying to figure out the issues was a bit
harder than expected. I had my suspicions but the output wasn't quite
conducive to seeing the overall picture. The output was almost, but not quite
valid Lua [2]. If it was valid Lua, I could load the data and write some code
to verify my hypothesis, but alas, I had to write code to massage the output
into a form that could be loaded.
What a drag.
I was able to prove my hypothesis (some contradictory features were enabled,
but it's a “that can't happen in production” type scenario, and if it did
happen in production it's of no real consequence). I then adjusted the
regression test accordingly.
But afterwards, I adjusted the output slightly to make it valid Lua code.
That way, it can be loaded via the Lua parser so further investigations of
errors can be checked. I'm just a bit surprised that I didn't think of that
sooner.
Update on Thrusday, July 30^TH, 2020
I clarified what I did [3].
[1]
gopher://gopher.conman.org/0Phlog:2014/03/05.1
[2]
https://www.lua.org/
[3]
gopher://gopher.conman.org/0Phlog:2020/07/30.1
Email author at
[email protected]