test: Fix commands.test so RESTART is run last

Commands after a RESTART aren't properly run on a test case, so only
run it last.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2020-04-28 22:53:12 -04:00
parent bf6f84b82d
commit 8c2b62775d
1 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,6 @@ QUERY_ENDSTOPS
M115 M115
# Restart command
RESTART
M18 M18
# G-code state commands # G-code state commands
@ -44,3 +41,6 @@ M204 S500
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=.001 SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=.001
SET_PRESSURE_ADVANCE ADVANCE=.002 ADVANCE_LOOKAHEAD_TIME=.001 SET_PRESSURE_ADVANCE ADVANCE=.002 ADVANCE_LOOKAHEAD_TIME=.001
# Restart command (must be last in test)
RESTART