Sha256: c54a0044239bfbfc1c4596ee85960f331dcf4cd115bfd631153be101b9571b98
Contents?: true
Size: 950 Bytes
Versions: 2
Compression:
Stored size: 950 Bytes
Contents
# -*- mode: org; mode: auto-fill; -*- #+TITLE: Expected results example #+name: hello_test #+begin_src ruby :results output 10.times do puts "hola" end #+end_src #+RESULTS: hello_test #+begin_example hola hola hola hola hola hola hola hola hola hola #+end_example This one would fail near christmas, outside of Japan, when the site is down, or there is a change in the rss.xml being provided. #+name: christmas_check #+begin_src bash :results output curl https://isitchristmas.com/rss.xml 2> /dev/null | grep title # curl isitchristmastyet.com 2> /dev/null #+end_src #+RESULTS: christmas_check #+begin_example <title>Is It Christmas?</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> <title>NO</title> #+end_example
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
org-converge-0.0.11 | spec/converge_examples/expected_results/spec2.org |
org-converge-0.0.10 | spec/converge_examples/expected_results/spec2.org |