Skip to content

Commit

Permalink
fix pid test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed May 18, 2021
1 parent c272b5b commit ad0b07a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/os/process/pid_and_ppid.wren
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ System.print(Process.ppid is Num) // expect: true
System.print(Process.ppid.isInteger) // expect: true
System.print(Process.ppid > 0) // expect: true

System.print("pid: %(Process.pid)")
System.print("ppid: %(Process.ppid)")
System.print(Process.pid > Process.ppid) // expect: true
// on Windows it seems process IDs are perhaps randomized?
System.print(Process.pid != Process.ppid) // expect: true

0 comments on commit ad0b07a

Please sign in to comment.