mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update tests/Compiler.test.cpp
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
parent
6e1f65b41f
commit
bbe06c00c6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
)");
|
)");
|
||||||
|
|
Loading…
Add table
Reference in a new issue