1# Tests for GCCellPtr pretty-printing
2# flake8: noqa: F821
3
4assert_subprinter_registered("SpiderMonkey", "JS::GCCellPtr")
5
6run_fragment("GCCellPtr.simple")
7
8assert_pretty("nulll", "JS::GCCellPtr(nullptr)")
9assert_pretty("object", "JS::GCCellPtr((JSObject*) )")
10assert_pretty("string", "JS::GCCellPtr((JSString*) )")
11assert_pretty("symbol", "JS::GCCellPtr((JS::Symbol*) )")
12assert_pretty("bigint", "JS::GCCellPtr((JS::BigInt*) )")
13assert_pretty("shape", "JS::GCCellPtr((js::Shape*) )")
14assert_pretty("baseShape", "JS::GCCellPtr((js::BaseShape*) )")
15assert_pretty("script", "JS::GCCellPtr((js::BaseScript*) )")
16assert_pretty("scope", "JS::GCCellPtr((js::Scope*) )")
17assert_pretty("regExpShared", "JS::GCCellPtr((js::RegExpShared*) )")
18