You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; expect: (Cons _ "; expect: \"data\"\n; tests/macro_read_file.sl reads this file as text.\n\"data\"\n" $ Cons _ "; expect: \"data\"\n; tests/macro_read_file.sl reads this file as text.\n\"data\"\n" $ Cons _ "Fail: ../dune: outside the directory ../tests" $ Cons _ "Fail: /etc/hostname: outside the directory ../tests" $ Cons _ "Fail: missing.txt: No such file or directory" $ Cons _ "Fail: no position to read relative to" $ Cons _ "Fail: elsewhere.sl: not a source file or a name given to --comptime-unconfine" $ Nil _)
; A macro reads a file relative to the source file of the position it gives, inside that file's directory.