diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-06-13 19:23:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 13:23:11 +0200 |
commit | cca5e5ffb92d10b56e0d57940bd52c632d6651a4 (patch) | |
tree | d46bbf795f07b2df67d31653c2d6b93b7b2d83ca /tests/import | |
parent | fda8b6f193e2e229488f76f18089f01eb08272fb (diff) | |
download | Nim-cca5e5ffb92d10b56e0d57940bd52c632d6651a4.tar.gz |
fixes #22065; do not search path for relative imports (#22073)
* fixes #22065; do not search path for "./" * simplify * fixes * fixes * allow ".." * cleanup * add a test case * slightly modify the import * adds a changelog
Diffstat (limited to 'tests/import')
-rw-r--r-- | tests/import/t22065.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/import/t22065.nim b/tests/import/t22065.nim new file mode 100644 index 000000000..dfd87a107 --- /dev/null +++ b/tests/import/t22065.nim @@ -0,0 +1,5 @@ +discard """ + errormsg: "cannot open file: ./sugar" +""" + +import ./sugar \ No newline at end of file |