Skip to content

Commit bdffb21

Browse files
committed
test: fix one test case in STT
1 parent b75f178 commit bdffb21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-executorch/common/rnexecutorch/tests/integration/SpeechToTextTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ TEST(S2TCtorTests, InvalidModelPathThrows) {
5757
TEST(S2TCtorTests, InvalidTokenizerPathThrows) {
5858
EXPECT_THROW(
5959
SpeechToText("whisper", kValidModelPath, "nonexistent.json", nullptr),
60-
std::filesystem::filesystem_error);
60+
rnexecutorch::RnExecutorchError);
6161
}
6262

6363
TEST(S2TEncodeTests, EncodeReturnsNonNull) {

0 commit comments

Comments
 (0)