From 2f1b44013e7cd74f7c1b756d04744bfca51a08f4 Mon Sep 17 00:00:00 2001 From: Le Duy Tung Date: Fri, 29 May 2026 12:12:44 +0700 Subject: [PATCH] Removed the fixed version match --- kpm/spec/kpm/remote/maven_central_api_calls_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpm/spec/kpm/remote/maven_central_api_calls_spec.rb b/kpm/spec/kpm/remote/maven_central_api_calls_spec.rb index 9307b13f..7d5b3492 100644 --- a/kpm/spec/kpm/remote/maven_central_api_calls_spec.rb +++ b/kpm/spec/kpm/remote/maven_central_api_calls_spec.rb @@ -63,7 +63,7 @@ parsed_doc = REXML::Document.new(response) expect(parsed_doc.elements['//groupId'].text).to eq('org.kill-bill.billing') expect(parsed_doc.elements['//artifactId'].text).to eq('killbill') - expect(parsed_doc.elements['//version'].text).to eq(test_version) + expect(parsed_doc.elements['//version'].text).to match(/\A\d+\.\d+\.\d+\z/) end end end