spec/linkparser_spec.rb in linkparser-2.1.0 vs spec/linkparser_spec.rb in linkparser-2.2.0
- old
+ new
@@ -1,7 +1,7 @@
# -*- ruby -*-
-#encoding: utf-8
+# frozen_string_literal: true
require_relative 'helpers'
require 'rspec'
require 'linkparser'
@@ -9,9 +9,14 @@
describe LinkParser do
it "knows what version of the link-grammar library it was built against" do
expect( LinkParser.link_grammar_version ).to match( /link-grammar-\d+\.\d+\.\d+/i )
+ end
+
+
+ it "knows what the configuration of the link-grammar library was" do
+ expect( LinkParser.link_grammar_config ).to match( /compiled with:/i )
end
end