Update CHANGELOG for 9.2.2

qa/9.2.2-rc8
Rick Carlino 2020-04-09 15:41:44 -05:00
parent b3a2b49f49
commit 992d9d4264
2 changed files with 14 additions and 6 deletions

View File

@ -1,5 +1,13 @@
# Changelog
# 9.2.2
* Fix firmware locking error ("Can't perform X in Y state")
* Removal of dead code / legacy plus numerous unit test additions.
* Added coveralls test coverage reporter
* Unit test additions (+2.7% coverage :tada:)
* Updates to build instructions for third party developers
# 9.2.1
* Improve firmware debug messages.

View File

@ -22,14 +22,14 @@ defmodule FarmbotOS.Lua.Ext.FirmwareTest do
lua = "return"
expect(FarmbotCeleryScript.SysCalls, :move_absolute, 4, fn
(1, _, _, _) -> :ok
(_, _, _, _) -> {:error, msg}
1, _, _, _ -> :ok
_, _, _, _ -> {:error, msg}
end)
assert {[true], ^lua} = Firmware.move_absolute([1,2,3,4], lua)
assert {[nil, ^msg], ^lua} = Firmware.move_absolute([5,6,7,8], lua)
assert {[true], ^lua} = Firmware.move_absolute([1,2,3], lua)
assert {[nil, ^msg], ^lua} = Firmware.move_absolute([5,6,7], lua)
assert {[true], ^lua} = Firmware.move_absolute([1, 2, 3, 4], lua)
assert {[nil, ^msg], ^lua} = Firmware.move_absolute([5, 6, 7, 8], lua)
assert {[true], ^lua} = Firmware.move_absolute([1, 2, 3], lua)
assert {[nil, ^msg], ^lua} = Firmware.move_absolute([5, 6, 7], lua)
end
test "find_home/2" do