This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
$ echo 'Hello, world!' > hello.expected
|
||||
|
||||
$ dune runtest
|
||||
|
||||
$ cp hello.wrong-output hello.expected
|
||||
$ dune runtest
|
||||
File "hello.expected", line 1, characters 0-0:
|
||||
Error: Files _build/default/hello.expected and _build/default/hello.output
|
||||
differ.
|
||||
[1]
|
||||
$ dune promote
|
||||
Promoting _build/default/hello.output to hello.expected.
|
||||
$ cat hello.expected
|
||||
Hello, world!
|
||||
|
||||
$ dune build @cmp
|
||||
File "dune", lines 12-14, characters 0-41:
|
||||
12 | (alias
|
||||
13 | (name cmp)
|
||||
14 | (action (cmp a b)))
|
||||
Error: Files _build/default/a and _build/default/b differ.
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue