mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-08-12 22:31:22 +04:00
ruby : Loose RegExp for test (#3448)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user