Skip to content

Commit

Permalink
Merge pull request #40 from anujdas/master
Browse files Browse the repository at this point in the history
Fix regression (non-existent var) in performcheck code
  • Loading branch information
4refr0nt committed Jan 12, 2016
2 parents 4461f36 + 2935618 commit 9eb1f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luatool/luatool.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def performcheck(self, expected):
else:
expected = expected.split("\r")[0]
sys.stdout.write("\r\n\r\nERROR")
sys.stdout.write("\r\n send string : '%s'" % data)
sys.stdout.write("\r\n expected echo : '%s'" % data)
sys.stdout.write("\r\n send string : '%s'" % expected)
sys.stdout.write("\r\n expected echo : '%s'" % expected)
sys.stdout.write("\r\n but got answer : '%s'" % line)
sys.stdout.write("\r\n\r\n")
raise Exception('Error sending data to MCU\r\n\r\n')
Expand Down

0 comments on commit 9eb1f26

Please sign in to comment.