Skip to content

Commit

Permalink
* fixed syntax errors in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nickysn committed Jan 12, 2024
1 parent eef9d2b commit ce1f834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nimsuggest/tester.nim
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ proc runEpcTest(filename: string): int =
os.sleep(50)
inc i
let a = outp.readAll().strip()
var port
var port: int
try:
port = parseInt(a)
on ValueError:
except ValueError:
echo "Error parsing int: " & a
raise
socket.connect("localhost", Port(port))
Expand Down

0 comments on commit ce1f834

Please sign in to comment.