Missed one more set of reformatting in last commit to unnecessarily wrap
lines.
@@ -1473,8 +1473,7 @@ function execution_tests.run(compile_file, backend, _ENV, only_compile)
it("works on negative numbers", function()
run_test([[
- assert(0.368 == tonumber(string.format("%.3f",
- test.exponential_value(-1.0))))
+ assert(0.368 == tonumber(string.format("%.3f", test.exponential_value(-1.0))))
]])
end)
@@ -1496,10 +1495,8 @@ function execution_tests.run(compile_file, backend, _ENV, only_compile)
it("works on positive numbers", function()
run_test([[
assert(0.0 == test.natural_log(1.0))
- assert(0.693 == tonumber(string.format("%.3f",
- test.natural_log(2.0))))
- assert(2.303 == tonumber(string.format("%.3f",
- test.natural_log(10.0))))
+ assert(0.693 == tonumber(string.format("%.3f", test.natural_log(2.0))))
+ assert(2.303 == tonumber(string.format("%.3f", test.natural_log(10.0))))
]])
end)
