Skip to content

Commit

Permalink
update nim tests version to support 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TelegramXPlus committed Oct 29, 2024
1 parent 41ec95b commit 1c65d08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import unittest
import htmlparser
when (NimMajor, NimMinor, NimPatch) == (2, 2, 0):
import pkg/htmlparser
else:
import htmlparser
import strtabs
import beautifulparser

Expand Down

0 comments on commit 1c65d08

Please sign in to comment.