sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/

test/test_yaml_regressions.rb (363B) - raw

      1 require 'test_helper'
      2 
      3 # Requiring 'yaml' before 'sup' in 1.9.x would get Psych loaded first
      4 # and becoming the default yamler.
      5 require 'yaml'
      6 require 'sup'
      7 
      8 module Redwood
      9   class TestYamlRegressions < ::Minitest::Test
     10     def test_yamling_hash
     11       hsh = {:foo => 42}
     12       reloaded = YAML.load(hsh.to_yaml)
     13 
     14       assert_equal reloaded, hsh
     15     end
     16   end
     17 end