lib/roku_builder/tester.rb in roku_builder-3.11.0 vs lib/roku_builder/tester.rb in roku_builder-3.11.1
- old
+ new
@@ -23,10 +23,10 @@
loader = Loader.new(**@device_config)
connection = Net::Telnet.new(telnet_config)
code, _build_version = loader.sideload(**sideload_config)
- if code = SUCCESS
+ if code == SUCCESS
in_tests = false
connection.waitfor(@end_reg) do |txt|
in_tests = handle_text(txt: txt, in_tests: in_tests)
end
connection.puts("cont\n")