blob: 18e40d6b5a5806ac1f640d0b04c93f2ae74fae90 (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
require "spec_helper"
require "bundler/psyched_yaml"
RSpec.describe "Bundler::YamlLibrarySyntaxError" do
it "is raised on YAML parse errors" do
expect { YAML.parse "{foo" }.to raise_error(Bundler::YamlLibrarySyntaxError)
end
end
|