move test cases to priv/, retrieve location with code:lib_dir/2

This commit is contained in:
alisdair sullivan 2012-03-14 06:36:36 -07:00
parent 62aef415e1
commit 338f79ec9a
89 changed files with 1 additions and 9 deletions

View file

@ -0,0 +1,22 @@
{name, "object"}.
{jsx, [start_object,
{key,<<"foo">>},
{string,<<"bar">>},
{key,<<"baz">>},
{literal,true},
{key,<<"false">>},
{literal,null},
{key,<<"object">>},
start_object,
{key,<<"key">>},
{string,<<"value">>},
end_object,
{key,<<"list">>},
start_array,
{literal,null},
{literal,null},
{literal,null},
start_array,end_array,
{string,<<"\n\r\\">>},
end_array,end_object,end_json]}.
{json, "object.json"}.