Skip to content

Commit 2bd16e7

Browse files
committed
Make pin reftest regexp more robust
With the new `git -C` commands showing, the regexp could potentially match on the path passed to the `-C` option. Signed-off-by: Nathan Rebours <nathan.rebours@ocamlpro.com>
1 parent 7277eb7 commit 2bd16e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/reftests/pin.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ The following actions will be performed:
240240
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
241241
-> installed nip-git2.ved
242242
Done.
243-
### opam pin add ./nip-path2 --kind git | sed-cmd git | "128.*" -> "128"
243+
### opam pin add ./nip-path2 --kind git | sed-cmd git | " 128.*" -> " 128"
244244
[ERROR] Command "git -C ${BASEDIR}/nip-path2 ls-files" failed:
245245
"git -C ${BASEDIR}/nip-path2 ls-files" exited with code 128
246246
# Return code 99 #

0 commit comments

Comments
 (0)