rcl/golden/error/runtime_import_absolute.test
Ruud van Asseldonk 6d5ce4f5a3 Add source location for import errors
Also test that importing absolute paths is not allowed, which triggered
adding this info in the first place.
2023-10-20 19:33:32 +02:00

8 lines
207 B
Text

import "/home/user/.config/secrets.rcl"
# output:
stdin:1:8
1 │ import "/home/user/.config/secrets.rcl"
╵ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: Importing absolute paths is not allowed.