summaryrefslogtreecommitdiffstats
path: root/js/src/gdb/tests/test-jsbytecode.py
blob: e69732d4c7af8f6d69d97722c42d17a1a9b39d06 (plain)
1
2
3
4
5
6
7
8
9
# Basic unit tests for jsbytecode* pretty-printer.
# flake8: noqa: F821

assert_subprinter_registered("SpiderMonkey", "ptr-to-jsbytecode")

run_fragment("jsbytecode.simple")

assert_pretty("ok", "true")
assert_pretty("code", " (JSOp::Debugger)")