Add helpful compiler errors on old import paths

This commit is contained in:
Mark Spanbroek 2023-12-21 13:04:33 +01:00 committed by markspanbroek
parent 4f89a82a49
commit eb6940c5de
2 changed files with 8 additions and 0 deletions

4
asynctest.nim Normal file
View File

@ -0,0 +1,4 @@
{.error:
"As of version 0.5.0 you need to import either " &
"asynctest/asyncdispatch/unittest or " &
"asynctest/chronos/unittest depending on your choice of async framework".}

4
asynctest/unittest2.nim Normal file
View File

@ -0,0 +1,4 @@
{.error:
"As of version 0.5.0 you need to import either " &
"asynctest/asyncdispatch/unittest2 or " &
"asynctest/chronos/unittest2 depending on your choice of async framework".}