Sha256: 24a91aef6fd55ba01d8a94d041ea788cdd1851f147dd1346b4c2ef8bd46041ee
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
# -*- mode: org; mode: auto-fill; -*- #+TITLE: Expected results example #+runmode: spec Given a literate description of the run along with the expected results, we can try checking whether the contents from the code block are evaling into what is being documented in the results block. #+name: hello #+begin_src bash :results output code :exports both for i in `seq 20`; do echo "hello" done #+end_src #+RESULTS: hello #+BEGIN_SRC sh hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello #+END_SRC Something else. #+name: hola #+begin_src ruby :results output code :exports both 10.times do puts "hola" end #+end_src #+RESULTS: hola #+BEGIN_SRC ruby hola hola hola hola hola hola hola hola hola hola #+END_SRC
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
org-converge-0.0.11 | spec/converge_examples/expected_results/spec.org |
org-converge-0.0.10 | spec/converge_examples/expected_results/spec.org |