Update TypeFunction.user.test.cpp

This commit is contained in:
vegorov-rbx 2025-02-20 12:21:23 -08:00 committed by GitHub
parent 11f4cd90af
commit f4fd5f5161
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1900,6 +1900,8 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "udtf_print_tab_char_fix")
local _:test<number>
)");
LUAU_REQUIRE_ERROR_COUNT(1, result);
// It should be \t and not \x1
CHECK_EQ("1\t2", toString(result.errors[0]));
}