Sha256: 8a829938c77986b2731c93ee604bb50f1351f71cadbf5d099683c7a8827491ed

Contents?: true

Size: 948 Bytes

Versions: 6

Compression:

Stored size: 948 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 sh :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

6 entries across 6 versions & 1 rubygems

Version Path
org-converge-0.0.17 spec/converge_examples/expected_results/spec2.org
org-converge-0.0.16 spec/converge_examples/expected_results/spec2.org
org-converge-0.0.15 spec/converge_examples/expected_results/spec2.org
org-converge-0.0.14 spec/converge_examples/expected_results/spec2.org
org-converge-0.0.13 spec/converge_examples/expected_results/spec2.org
org-converge-0.0.12 spec/converge_examples/expected_results/spec2.org