@@ -645,32 +645,32 @@ TEST_CASE("CodegenSupported")
645
645
646
646
TEST_CASE (" Assert" )
647
647
{
648
- runConformance (" assert.lua " );
648
+ runConformance (" assert.luau " );
649
649
}
650
650
651
651
TEST_CASE (" Basic" )
652
652
{
653
- runConformance (" basic.lua " );
653
+ runConformance (" basic.luau " );
654
654
}
655
655
656
656
TEST_CASE (" Buffers" )
657
657
{
658
658
ScopedFastFlag luauBufferBitMethods{FFlag::LuauBufferBitMethods2, true };
659
659
660
- runConformance (" buffers.lua " );
660
+ runConformance (" buffers.luau " );
661
661
}
662
662
663
663
TEST_CASE (" Math" )
664
664
{
665
665
ScopedFastFlag LuauMathLerp{FFlag::LuauMathLerp, true };
666
666
667
- runConformance (" math.lua " );
667
+ runConformance (" math.luau " );
668
668
}
669
669
670
670
TEST_CASE (" Tables" )
671
671
{
672
672
runConformance (
673
- " tables.lua " ,
673
+ " tables.luau " ,
674
674
[](lua_State* L)
675
675
{
676
676
lua_pushcfunction (
@@ -699,101 +699,101 @@ TEST_CASE("Tables")
699
699
700
700
TEST_CASE (" PatternMatch" )
701
701
{
702
- runConformance (" pm.lua " );
702
+ runConformance (" pm.luau " );
703
703
}
704
704
705
705
TEST_CASE (" Sort" )
706
706
{
707
- runConformance (" sort.lua " );
707
+ runConformance (" sort.luau " );
708
708
}
709
709
710
710
TEST_CASE (" Move" )
711
711
{
712
- runConformance (" move.lua " );
712
+ runConformance (" move.luau " );
713
713
}
714
714
715
715
TEST_CASE (" Clear" )
716
716
{
717
- runConformance (" clear.lua " );
717
+ runConformance (" clear.luau " );
718
718
}
719
719
720
720
TEST_CASE (" Strings" )
721
721
{
722
722
ScopedFastFlag luauStringFormatFixC{DFFlag::LuauStringFormatFixC, true };
723
723
724
- runConformance (" strings.lua " );
724
+ runConformance (" strings.luau " );
725
725
}
726
726
727
727
TEST_CASE (" StringInterp" )
728
728
{
729
- runConformance (" stringinterp.lua " );
729
+ runConformance (" stringinterp.luau " );
730
730
}
731
731
732
732
TEST_CASE (" VarArg" )
733
733
{
734
- runConformance (" vararg.lua " );
734
+ runConformance (" vararg.luau " );
735
735
}
736
736
737
737
TEST_CASE (" Locals" )
738
738
{
739
- runConformance (" locals.lua " );
739
+ runConformance (" locals.luau " );
740
740
}
741
741
742
742
TEST_CASE (" Literals" )
743
743
{
744
- runConformance (" literals.lua " );
744
+ runConformance (" literals.luau " );
745
745
}
746
746
747
747
TEST_CASE (" Errors" )
748
748
{
749
- runConformance (" errors.lua " );
749
+ runConformance (" errors.luau " );
750
750
}
751
751
752
752
TEST_CASE (" Events" )
753
753
{
754
- runConformance (" events.lua " );
754
+ runConformance (" events.luau " );
755
755
}
756
756
757
757
TEST_CASE (" Constructs" )
758
758
{
759
- runConformance (" constructs.lua " );
759
+ runConformance (" constructs.luau " );
760
760
}
761
761
762
762
TEST_CASE (" Closure" )
763
763
{
764
- runConformance (" closure.lua " );
764
+ runConformance (" closure.luau " );
765
765
}
766
766
767
767
TEST_CASE (" Calls" )
768
768
{
769
769
ScopedFastFlag LuauStackLimit{DFFlag::LuauStackLimit, true };
770
770
771
- runConformance (" calls.lua " );
771
+ runConformance (" calls.luau " );
772
772
}
773
773
774
774
TEST_CASE (" Attrib" )
775
775
{
776
- runConformance (" attrib.lua " );
776
+ runConformance (" attrib.luau " );
777
777
}
778
778
779
779
TEST_CASE (" GC" )
780
780
{
781
- runConformance (" gc.lua " );
781
+ runConformance (" gc.luau " );
782
782
}
783
783
784
784
TEST_CASE (" Bitwise" )
785
785
{
786
- runConformance (" bitwise.lua " );
786
+ runConformance (" bitwise.luau " );
787
787
}
788
788
789
789
TEST_CASE (" UTF8" )
790
790
{
791
- runConformance (" utf8.lua " );
791
+ runConformance (" utf8.luau " );
792
792
}
793
793
794
794
TEST_CASE (" Coroutine" )
795
795
{
796
- runConformance (" coroutine.lua " );
796
+ runConformance (" coroutine.luau " );
797
797
}
798
798
799
799
static int cxxthrow (lua_State* L)
@@ -810,7 +810,7 @@ TEST_CASE("PCall")
810
810
ScopedFastFlag LuauStackLimit{DFFlag::LuauStackLimit, true };
811
811
812
812
runConformance (
813
- " pcall.lua " ,
813
+ " pcall.luau " ,
814
814
[](lua_State* L)
815
815
{
816
816
lua_pushcfunction (L, cxxthrow, " cxxthrow" );
@@ -836,7 +836,7 @@ TEST_CASE("PCall")
836
836
837
837
TEST_CASE (" Pack" )
838
838
{
839
- runConformance (" tpack.lua " );
839
+ runConformance (" tpack.luau " );
840
840
}
841
841
842
842
TEST_CASE (" Vector" )
@@ -881,7 +881,7 @@ TEST_CASE("Vector")
881
881
}
882
882
883
883
runConformance (
884
- " vector.lua " ,
884
+ " vector.luau " ,
885
885
[](lua_State* L)
886
886
{
887
887
setupVectorHelpers (L);
@@ -915,7 +915,7 @@ TEST_CASE("VectorLibrary")
915
915
copts.optimizationLevel = 2 ;
916
916
}
917
917
918
- runConformance (" vector_library.lua " , [](lua_State* L) {}, nullptr , nullptr , &copts);
918
+ runConformance (" vector_library.luau " , [](lua_State* L) {}, nullptr , nullptr , &copts);
919
919
}
920
920
921
921
static void populateRTTI (lua_State* L, Luau::TypeId type)
@@ -993,7 +993,7 @@ TEST_CASE("Types")
993
993
ScopedFastFlag luauMathLerp{FFlag::LuauMathLerp, true };
994
994
995
995
runConformance (
996
- " types.lua " ,
996
+ " types.luau " ,
997
997
[](lua_State* L)
998
998
{
999
999
Luau::NullModuleResolver moduleResolver;
@@ -1018,12 +1018,12 @@ TEST_CASE("Types")
1018
1018
1019
1019
TEST_CASE (" DateTime" )
1020
1020
{
1021
- runConformance (" datetime.lua " );
1021
+ runConformance (" datetime.luau " );
1022
1022
}
1023
1023
1024
1024
TEST_CASE (" Debug" )
1025
1025
{
1026
- runConformance (" debug.lua " );
1026
+ runConformance (" debug.luau " );
1027
1027
}
1028
1028
1029
1029
TEST_CASE (" Debugger" )
@@ -1050,7 +1050,7 @@ TEST_CASE("Debugger")
1050
1050
copts.debugLevel = 2 ;
1051
1051
1052
1052
runConformance (
1053
- " debugger.lua " ,
1053
+ " debugger.luau " ,
1054
1054
[](lua_State* L)
1055
1055
{
1056
1056
lua_Callbacks* cb = lua_callbacks (L);
@@ -1225,7 +1225,7 @@ TEST_CASE("NDebugGetUpValue")
1225
1225
copts.optimizationLevel = 0 ;
1226
1226
1227
1227
runConformance (
1228
- " ndebug_upvalues.lua " ,
1228
+ " ndebug_upvalues.luau " ,
1229
1229
nullptr ,
1230
1230
[](lua_State* L)
1231
1231
{
@@ -1456,7 +1456,7 @@ TEST_CASE("ApiIter")
1456
1456
1457
1457
TEST_CASE (" ApiCalls" )
1458
1458
{
1459
- StateRef globalState = runConformance (" apicalls.lua " , nullptr , nullptr , lua_newstate (limitedRealloc, nullptr ));
1459
+ StateRef globalState = runConformance (" apicalls.luau " , nullptr , nullptr , lua_newstate (limitedRealloc, nullptr ));
1460
1460
lua_State* L = globalState.get ();
1461
1461
1462
1462
// lua_call
@@ -1783,7 +1783,7 @@ TEST_CASE("ExceptionObject")
1783
1783
return ExceptionResult{false , " " };
1784
1784
};
1785
1785
1786
- StateRef globalState = runConformance (" exceptions.lua " , nullptr , nullptr , lua_newstate (limitedRealloc, nullptr ));
1786
+ StateRef globalState = runConformance (" exceptions.luau " , nullptr , nullptr , lua_newstate (limitedRealloc, nullptr ));
1787
1787
lua_State* L = globalState.get ();
1788
1788
1789
1789
{
@@ -1822,7 +1822,7 @@ TEST_CASE("ExceptionObject")
1822
1822
1823
1823
TEST_CASE (" IfElseExpression" )
1824
1824
{
1825
- runConformance (" ifelseexpr.lua " );
1825
+ runConformance (" ifelseexpr.luau " );
1826
1826
}
1827
1827
1828
1828
// Optionally returns debug info for the first Luau stack frame that is encountered on the callstack.
@@ -1860,7 +1860,7 @@ TEST_CASE("TagMethodError")
1860
1860
auto yieldCallback = [](lua_State* L) {};
1861
1861
1862
1862
runConformance (
1863
- " tmerror.lua " ,
1863
+ " tmerror.luau " ,
1864
1864
[](lua_State* L)
1865
1865
{
1866
1866
auto * cb = lua_callbacks (L);
@@ -1898,7 +1898,7 @@ TEST_CASE("Coverage")
1898
1898
copts.coverageLevel = 2 ;
1899
1899
1900
1900
runConformance (
1901
- " coverage.lua " ,
1901
+ " coverage.luau " ,
1902
1902
[](lua_State* L)
1903
1903
{
1904
1904
lua_pushcfunction (
@@ -1952,7 +1952,7 @@ TEST_CASE("Coverage")
1952
1952
1953
1953
TEST_CASE (" StringConversion" )
1954
1954
{
1955
- runConformance (" strconv.lua " );
1955
+ runConformance (" strconv.luau " );
1956
1956
}
1957
1957
1958
1958
TEST_CASE (" GCDump" )
@@ -2065,7 +2065,7 @@ TEST_CASE("Interrupt")
2065
2065
2066
2066
static int index ;
2067
2067
2068
- StateRef globalState = runConformance (" interrupt.lua " , nullptr , nullptr , nullptr , &copts);
2068
+ StateRef globalState = runConformance (" interrupt.luau " , nullptr , nullptr , nullptr , &copts);
2069
2069
2070
2070
lua_State* L = globalState.get ();
2071
2071
@@ -2366,7 +2366,7 @@ TEST_CASE("DebugApi")
2366
2366
2367
2367
TEST_CASE (" Iter" )
2368
2368
{
2369
- runConformance (" iter.lua " );
2369
+ runConformance (" iter.luau " );
2370
2370
}
2371
2371
2372
2372
const int kInt64Tag = 1 ;
@@ -2395,7 +2395,7 @@ static void pushInt64(lua_State* L, int64_t value)
2395
2395
TEST_CASE (" Userdata" )
2396
2396
{
2397
2397
runConformance (
2398
- " userdata.lua " ,
2398
+ " userdata.luau " ,
2399
2399
[](lua_State* L)
2400
2400
{
2401
2401
// create metatable with all the metamethods
@@ -2617,7 +2617,7 @@ TEST_CASE("Userdata")
2617
2617
2618
2618
TEST_CASE (" SafeEnv" )
2619
2619
{
2620
- runConformance (" safeenv.lua " );
2620
+ runConformance (" safeenv.luau " );
2621
2621
}
2622
2622
2623
2623
TEST_CASE (" Native" )
@@ -2639,7 +2639,7 @@ TEST_CASE("Native")
2639
2639
}
2640
2640
2641
2641
runConformance (
2642
- " native.lua " ,
2642
+ " native.luau " ,
2643
2643
[](lua_State* L)
2644
2644
{
2645
2645
setupNativeHelpers (L);
@@ -2654,7 +2654,7 @@ TEST_CASE("NativeTypeAnnotations")
2654
2654
return ;
2655
2655
2656
2656
runConformance (
2657
- " native_types.lua " ,
2657
+ " native_types.luau " ,
2658
2658
[](lua_State* L)
2659
2659
{
2660
2660
setupNativeHelpers (L);
@@ -2717,7 +2717,7 @@ TEST_CASE("NativeUserdata")
2717
2717
}
2718
2718
2719
2719
runConformance (
2720
- " native_userdata.lua " ,
2720
+ " native_userdata.luau " ,
2721
2721
[](lua_State* L)
2722
2722
{
2723
2723
Luau::CodeGen::setUserdataRemapper (
0 commit comments