]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ruby : Loose RegExp for test (#3448)
authorKITAITI Makoto <redacted>
Wed, 1 Oct 2025 12:33:11 +0000 (21:33 +0900)
committerGitHub <redacted>
Wed, 1 Oct 2025 12:33:11 +0000 (15:33 +0300)
bindings/ruby/test/test_whisper.rb

index 12b82a8de0984efa2ea3930adb108b8393d97f43..23479b7ae7a2f153ff464bd1e91b98cd7f449e65 100644 (file)
@@ -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