blob: d5bb3d1e1f6dbd11437e29e0634ccf10bdfd9cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Tests for GCCellPtr pretty-printing
assert_subprinter_registered('SpiderMonkey', 'JS::GCCellPtr')
run_fragment('GCCellPtr.simple')
assert_pretty('nulll', 'JS::GCCellPtr(nullptr)')
assert_pretty('object', 'JS::GCCellPtr((JSObject*) )')
assert_pretty('string', 'JS::GCCellPtr((JSString*) )')
assert_pretty('symbol', 'JS::GCCellPtr((JS::Symbol*) )')
|