Update tests/Compiler.test.cpp

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
Petri Häkkinen 2023-11-10 15:51:05 +02:00 committed by GitHub
parent 6e1f65b41f
commit bbe06c00c6
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4498,7 +4498,7 @@ TEST_CASE("VectorLiterals")
{ {
ScopedFastFlag sff("LuauVectorLiterals", true); ScopedFastFlag sff("LuauVectorLiterals", true);
CHECK_EQ("\n" + compileFunction("return Vector3.new(1, 2, 3)", 0, 2, true), R"( CHECK_EQ("\n" + compileFunction("return Vector3.new(1, 2, 3)", 0, 2, /*enableVectors*/ true), R"(
LOADK R0 K0 [1, 2, 3] LOADK R0 K0 [1, 2, 3]
RETURN R0 1 RETURN R0 1
)"); )");