diff --git a/tests/thtmlparser.nim b/tests/main/thtmlparser.nim
similarity index 99%
rename from tests/thtmlparser.nim
rename to tests/main/thtmlparser.nim
index 77c37f0..e6e534f 100644
--- a/tests/thtmlparser.nim
+++ b/tests/main/thtmlparser.nim
@@ -8,7 +8,7 @@ https://example.com/test?format=jpg&name=orig##text
https://example.com/test?format=jpg##text
'''
"""
-import ../src/htmlparser
+import ../../src/htmlparser
import std/[xmltree, strutils]
from std/streams import newStringStream
import std/assertions