summaryrefslogtreecommitdiff
path: root/spec/ruby/library/mathn/mathn_spec.rb
blob: 129c8f3288641dcd2eb1d94041a37b1f6c78614b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require_relative '../../spec_helper'

describe "mathn" do
  ruby_version_is "2.5" do
    it "is no longer part of the standard library" do
      -> {
        require "mathn"
      }.should raise_error(LoadError) { |e|
        e.path.should == 'mathn'
      }
    end
  end
end