Changeset 703 for proto/JSON


Ignore:
Timestamp:
Nov 9, 2010, 11:54:59 AM (8 years ago)
Author:
ksherdy
Message:

Update string type tests.

Location:
proto/JSON
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • proto/JSON/QA/fail/string.json

    r693 r703  
    1 {"\u abcd", "\u1___", "\u12__", "\u123_"}
     1["\u abcd", "\u1___", "\u12__", "\u123_"]
  • proto/JSON/QA/pass/string.json

    r695 r703  
    1 {"The","Quick", "Brown", "Fox", "Jumps", "Over", "The", "Lazy", "Dog."}
     1["Quick", "Brown", "Fox", "\"", "\\", "\\\\", "\\\\\\", "\/", "\b", "\f", "\n", "\r", "\t", "\uabcd", "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"]
  • proto/JSON/json_prototype.py

    r700 r703  
    553553#       demo_parallel_prefix_parity(u8data)
    554554#       demo_value_starts(u8data)
    555         demo_validate_number(u8data)
    556 #       demo_validate_string(u8data)
     555#       demo_validate_number(u8data)
     556        demo_validate_string(u8data)
    557557#       demo_validate_true_false_null(u8data)
    558558#       demo_validate_json(u8data)
Note: See TracChangeset for help on using the changeset viewer.