From 4d8fbd984ec2b1d22cae2788038ffd9b8ea76c86 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Fri, 13 Aug 2021 22:20:17 +0200 Subject: [PATCH] Allow prerelease FFI::VERSION --- spec/ffi/ffi_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ffi/ffi_spec.rb b/spec/ffi/ffi_spec.rb index 1ff504575..4de53104e 100644 --- a/spec/ffi/ffi_spec.rb +++ b/spec/ffi/ffi_spec.rb @@ -28,7 +28,7 @@ describe "VERSION" do it "should be kind of version" do - expect( FFI::VERSION ).to match(/^\d+\.\d+.\d+$/) + expect( FFI::VERSION ).to match(/^\d+\.\d+.\d+/) end end end