summaryrefslogtreecommitdiff
path: root/spec/bundler/bundler/psyched_yaml_spec.rb
blob: d5d68c5cc3c55dd596f013d2ccbbb189f82e1f8c (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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