luau/tests
Lily Brown 510aed7d3f
Fix JsonEncoder for AstExprTable (#454)
JsonEncoder wasn't producing valid JSON for `AstExprTable`s. This PR fixes it. The new output looks like
```json
{
    "type": "AstStatBlock",
    "location": "0,0 - 6,4",
    "body": [
        {
            "type": "AstStatLocal",
            "location": "1,8 - 5,9",
            "vars": [
                {
                    "name": "x",
                    "location": "1,14 - 1,15"
                }
            ],
            "values": [
                {
                    "type": "AstExprTable",
                    "location": "3,12 - 5,9",
                    "items": [
                        {
                            "kind": "record",
                            "key": {
                                "type": "AstExprConstantString",
                                "location": "4,12 - 4,15",
                                "value": "foo"
                            },
                            "value": {
                                "type": "AstExprConstantNumber",
                                "location": "4,18 - 4,21",
                                "value": 123
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
```
2022-04-08 11:26:47 -07:00
..
conformance Sync to upstream/release/521 (#443) 2022-03-31 14:01:51 -07:00
AstQuery.test.cpp Sync to upstream/release/512 (#330) 2022-01-27 15:46:05 -08:00
AstVisitor.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Autocomplete.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
BuiltinDefinitions.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Compiler.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Config.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Conformance.test.cpp Sync to upstream/release/521 (#443) 2022-03-31 14:01:51 -07:00
Error.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Fixture.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Fixture.h Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Frontend.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
IostreamOptional.h Sync to upstream/release/505 (#216) 2021-11-19 08:10:07 -08:00
JsonEncoder.test.cpp Fix JsonEncoder for AstExprTable (#454) 2022-04-08 11:26:47 -07:00
Linter.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
LValue.test.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
main.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
Module.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
NonstrictMode.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
Parser.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
Repl.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
RequireTracer.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
ScopedFlags.h Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
StringUtils.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
Symbol.test.cpp Sync to upstream/release/508 (#301) 2022-01-06 15:26:14 -08:00
ToDot.test.cpp Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
TopoSort.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00
ToString.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
Transpiler.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.aliases.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.annotations.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
TypeInfer.anyerror.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.builtins.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.classes.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
TypeInfer.definitions.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.functions.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeInfer.generics.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.intersectionTypes.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeInfer.loops.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.modules.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.oop.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.operators.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.primitives.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeInfer.provisional.test.cpp Sync to upstream/release/517 (#408) 2022-03-04 08:36:33 -08:00
TypeInfer.refinements.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.singletons.test.cpp Sync to upstream/release/520 (#427) 2022-03-24 15:04:14 -07:00
TypeInfer.tables.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeInfer.test.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.tryUnify.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypeInfer.typePacks.cpp Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
TypeInfer.unionTypes.test.cpp Sync to upstream/release/522 (#450) 2022-04-07 14:29:01 -07:00
TypePack.test.cpp Sync to upstream/release/514 (#372) 2022-02-17 17:18:01 -08:00
TypeVar.test.cpp Sync to upstream/release/516 (#397) 2022-02-24 15:53:37 -08:00
Variant.test.cpp Sync to upstream/release/501 (#20) 2021-11-01 14:52:34 -07:00