Add more patterns to gvc paths

This commit is contained in:
c9s 2014-05-20 23:39:20 +08:00
parent 1cbba0a101
commit a706b48f14
2 changed files with 3 additions and 2 deletions

View file

@ -390,3 +390,4 @@
1400599972,13982492.37 1400599972,13982492.37
1400600045,13977543.80 1400600045,13977543.80
1400600057,13901438.41 1400600057,13901438.41
1400600326,14049707.03

1 1400242718 5649455.80
390 1400599972 13982492.37
391 1400600045 13977543.80
392 1400600057 13901438.41
393 1400600326 14049707.03

View file

@ -46,11 +46,11 @@ START_TEST (test_gvc_render_file)
r3_tree_insert_path(n, "/foo/bar/grault", NULL); r3_tree_insert_path(n, "/foo/bar/grault", NULL);
r3_tree_insert_path(n, "/garply/grault/foo", NULL); r3_tree_insert_path(n, "/garply/grault/foo", NULL);
r3_tree_insert_path(n, "/garply/grault/bar", NULL); r3_tree_insert_path(n, "/garply/grault/bar", NULL);
r3_tree_insert_path(n, "/user/{id}", NULL);
r3_tree_insert_path(n, "/post/{title:\\w+}", NULL);
r3_tree_compile(n); r3_tree_compile(n);
r3_tree_render_file(n, "png", "check_gvc.png"); r3_tree_render_file(n, "png", "check_gvc.png");
r3_tree_free(n); r3_tree_free(n);
} }
END_TEST END_TEST