old_contents: import pytest
  
  from thinglang.runner import run
  
  
  def test_simple_conditionals():
      assert run("""
  thing Program
      does start
          if "dog" eq "dog"
              Output.write("dog is dog")
          if "dog" eq "cat"
              Output.write("dog is cat")
      """).output == """dog is dog""".strip()
  
new_contents: import pytest
  
  from thinglang.runner import run
  
  
  def test_simple_conditionals():
      assert run("""
  thing Program
      does start
          if "dog" eq "dog"
              Output.write("dog is dog")
          if "dog" eq "cat"
              Output.write("dog is cat")
      """).output == """dog is dog""".strip()
  
  
  def test_unconditional_else():
      assert run("""
  thing Program
      does start
          if "dog" eq "dog"
              Output.write("dog is dog")
          otherwise
              Output.write("dog is not dog")
  
          if "dog" eq "cat"
              Output.write("dog is cat")
          otherwise
              Output.write("dog is not cat")
      """).output == """dog is dog\ndog is not cat""".strip()
  
  
subject: Test for unconditional else branches