Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 # Printing JSStrings.
3 assert_subprinter_registered('SpiderMonkey', 'ptr-to-JSString')
4 run_fragment('JSString.simple')
6 assert_pretty('empty', '""')
7 assert_pretty('x', '"x"')
8 assert_pretty('z', '"z"')
9 assert_pretty('xz', '"xz"')
11 stars = gdb.parse_and_eval('stars')
12 assert_eq(str(stars), "'*' <repeats 100 times>")
14 doubleStars = gdb.parse_and_eval('doubleStars')
15 assert_eq(str(doubleStars), "'*' <repeats 200 times>")
17 assert_pretty('xRaw', '"x"')
19 # JSAtom *
21 run_fragment('JSString.atom')
23 assert_pretty('molybdenum', '"molybdenum"')