-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12.10.2015 12:36, Martin Vidner wrote:
I've made this mistake today:
#!/usr/bin/rspec require "yaml" describe "WTF" do it "works" do filename = "/usr/share/YaST2/data/sndcards.yml" expect { YAML.load_file(filename).to_not raise_error }
I thought expect chain is somehow required :) It seems it's not :)
end end
I caught it early because I also ran the test in failing mode (by making a deliberate syntax error in the YAML file).
- -- Lukas Ocilka, Systems Management (Yast) Team Leader SLE Department, SUSE Linux -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlYbkQAACgkQVSqMdRCqTiwgcACaA1qNW+4eQDWLWC1QSDNVfRCi wRYAn2Ck7j85OETQNThLddewgA1OFPyO =UgV3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org