test/rbbt/util/test_R.rb in rbbt-util-5.13.6 vs test/rbbt/util/test_R.rb in rbbt-util-5.13.7
- old
+ new
@@ -16,7 +16,15 @@
def test_format_tsv
tsv = TSV.setup({"a" => [1], "b" => [2]}, :type => :list, :key_field => "Letter", :fields => ["Number"])
assert tsv.transpose("Field").include? "Number"
end
+
+ def test_error
+ assert_raise ProcessFailed do
+ R.run <<-EOF
+ fadsfasdf
+ EOF
+ end
+ end
end