File tree Expand file tree Collapse file tree
test/blackbox-tests/test-cases/promote Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,6 +251,6 @@ let display_files files_to_promote =
251251 file_opts
252252 |> List. filter_opt
253253 |> List. sort ~compare: (fun file file' -> File. compare file file')
254- |> List. map ~f: File. to_dyn
255- |> List. iter ~f: ( fun file -> Console. print [ Dyn. pp file ] )
254+ |> List. iter ~f: ( fun ( file : File.t ) ->
255+ Console. printf " %s " ( Path.Source. to_string file.dst) )
256256;;
Original file line number Diff line number Diff line change 3333 [1 ]
3434
3535 $ dune promotion list --diff-command 'diff -u' 2 >&1
36- { src = In_build_dir "default/a.actual"
37- ; staging = None
38- ; dst = In_source_tree "a.expected"
39- }
40- { src = In_build_dir " default/b.actual"
41- ; staging = Some In_build_dir " .promotion-staging/b.expected"
42- ; dst = In_source_tree " b.expected"
43- }
36+ a .expected
37+ b .expected
4438
4539 $ dune promotion list b .expected --diff-command 'diff -u' 2 >&1
46- { src = In_build_dir " default/b.actual"
47- ; staging = Some In_build_dir " .promotion-staging/b.expected"
48- ; dst = In_source_tree " b.expected"
49- }
40+ b .expected
5041
5142 $ dune promotion list a .expected nothing-to-promote .txt --diff-command 'diff -u' 2 >&1
5243 Warning : Nothing to promote for nothing-to-promote .txt .
53- { src = In_build_dir " default/a.actual"
54- ; staging = None
55- ; dst = In_source_tree " a.expected"
56- }
44+ a .expected
You can’t perform that action at this time.
0 commit comments