From: KITAITI Makoto Date: Wed, 1 Oct 2025 12:33:11 +0000 (+0900) Subject: ruby : Loose RegExp for test (#3448) X-Git-Tag: upstream/1.8.2~69 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7849aff7a2e1f4234aa31b01a1870906d5431959;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ruby : Loose RegExp for test (#3448) --- diff --git a/bindings/ruby/test/test_whisper.rb b/bindings/ruby/test/test_whisper.rb index 12b82a8d..23479b7a 100644 --- a/bindings/ruby/test/test_whisper.rb +++ b/bindings/ruby/test/test_whisper.rb @@ -34,7 +34,7 @@ class TestWhisper < TestBase params = Whisper::Params.new @whisper.transcribe(AUDIO, params, n_processors: 4) {|text| - assert_match(/ask not what your country can do for you[,.] ask what you can do for your country/i, text) + assert_match(/what you can do for your country/i, text) } end