This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -372,14 +372,15 @@ unittest
372372 // should happen only from a single thread.
373373 (cast (Mutex ) mtx).__dtor();
374374
375- // Verify that the underlying implementation has been destroyed
376- // by checking that locking is not possible. This assumes
377- // that the underlying implementation is well behaved
378- // and makes the object non-lockable upon destruction.
379- // The Bionic and Musl C runtimes and DragonFly don't appear to do so, so skip this test.
375+ // Verify that the underlying implementation has been destroyed by checking
376+ // that locking is not possible. This assumes that the underlying
377+ // implementation is well behaved and makes the object non-lockable upon
378+ // destruction. The Bionic, DragonFly, Musl, and Solaris C runtimes don't
379+ // appear to do so, so skip this test.
380380 version (CRuntime_Bionic ) {} else
381381 version (CRuntime_Musl ) {} else
382382 version (DragonFlyBSD ) {} else
383+ version (Solaris ) {} else
383384 assert (! mtx.tryLock_nothrow());
384385
385386 free(cast (void * ) mtx);
You can’t perform that action at this time.
0 commit comments