spec/clang/utils_spec.rb in ffi-clang-0.2.0 vs spec/clang/utils_spec.rb in ffi-clang-0.2.1
- old
+ new
@@ -29,12 +29,11 @@
end
end
describe '#self.self.clang_version' do
let (:version) { Utils::clang_version }
- it "returns only a version of clang as string" do
- expect(version).to be_kind_of(String)
- expect(version).to match(/^\d+\.\d+$/)
+ it "returns only a version of clang as array [major, minor]" do
+ expect(version).to be_kind_of(Array)
end
end
describe '#self.clang_version_symbol' do
let (:symbol) { Utils::clang_version_symbol }