diff options
| author | Martin Ridgers <[email protected]> | 2022-01-07 10:13:29 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-07 10:16:52 +0100 |
| commit | f062774b87fbd51c7ec4e88ef573c19dcd937fcf (patch) | |
| tree | a31651423f99e0cff696928153d65d53192df3dc /zencore/thread.cpp | |
| parent | Timeouts longer than one second wouldn't work as expected (diff) | |
| download | zen-f062774b87fbd51c7ec4e88ef573c19dcd937fcf.tar.xz zen-f062774b87fbd51c7ec4e88ef573c19dcd937fcf.zip | |
Added a trivial test call to GetCurrentThreadId()
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index fc7efa2fc..940db1778 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -1081,6 +1081,8 @@ TEST_CASE("Thread") int Pid = GetCurrentProcessId(); CHECK(Pid > 0); CHECK(IsProcessRunning(Pid)); + + CHECK_FALSE(GetCurrentThreadId() == 0); } TEST_CASE("BuildArgV") |