We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b7e72e commit f004ff8Copy full SHA for f004ff8
test/cram/below-flag-with-subdirectory.t
@@ -136,10 +136,12 @@ Using --below with a relative path from the root.
136
137
Test that --below flag fails when path is not in workspace.
138
139
- $ cd /tmp
140
- $ dunolint lint --root ${ROOT} --below subdir2 --dry-run
141
- Error: Path "/tmp/subdir2" is not in dune workspace.
142
- [123]
+ $ TMPDIR=$(mktemp -d)
+ $ cd ${TMPDIR}
+ $ dunolint lint --root ${ROOT} --below subdir2 --dry-run 2>&1 | sed "s|${TMPDIR}|<tmpdir>|g"
+ Error: Path "<tmpdir>/subdir2" is not in dune
143
+ workspace.
144
+ $ rm -rf ${TMPDIR}
145
146
Test that paths are resolved correctly when using --below from a different cwd.
147
0 commit comments