Skip to content

Commit

Permalink
check type of output
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 30, 2018
1 parent c2be7d5 commit 1626f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spawn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ end
let out = Pipe(), proc = run(pipeline(`$exename --startup-file=no -e 'println(getpid())`, stdout=IOContext(out,stdout)), wait=false)
pid = getpid(proc)
close(out.in)
@test parse(Int, read(out, String)) == pid
@test parse(Int32, read(out, String)) === pid
@test success(proc)
@test_throws ErrorException getpid(proc)
end
Expand Down

0 comments on commit 1626f82

Please sign in to comment.