@@ -24,7 +24,7 @@ fn can_serialize_graph() {
2424 . to_json ( & |_: & StackGraph , _: & Handle < File > | true )
2525 . to_value ( )
2626 . expect ( "Cannot serialize graph" ) ;
27- // formatted using: json_pp -json_opt utf8,canoncical ,pretty,indent_length=4
27+ // formatted using: json_pp -json_opt utf8,canonical ,pretty,indent_length=4
2828 let expected = json ! (
2929 {
3030 "edges" : [
@@ -495,7 +495,7 @@ fn can_serialize_paths() {
495495 . to_json ( & graph, & |_: & StackGraph , _: & Handle < File > | true )
496496 . to_value ( )
497497 . expect ( "Cannot serialize paths" ) ;
498- // formatted using: json_pp -json_opt utf8,canoncical ,pretty,indent_length=4
498+ // formatted using: json_pp -json_opt utf8,canonical ,pretty,indent_length=4
499499 let expected = json ! (
500500 [
501501 {
@@ -1827,7 +1827,7 @@ fn can_serialize_partial_paths() {
18271827 . to_json ( & graph, & mut partials, & NoFilter )
18281828 . to_value ( )
18291829 . expect ( "Cannot serialize paths" ) ;
1830- // formatted using: json_pp -json_opt utf8,canoncical ,pretty,indent_length=4
1830+ // formatted using: json_pp -json_opt utf8,canonical ,pretty,indent_length=4
18311831 let expected = json ! (
18321832 [
18331833 {
@@ -1995,25 +1995,11 @@ fn can_serialize_partial_paths() {
19951995 "source" : {
19961996 "local_id" : 2
19971997 }
1998- } ,
1999- {
2000- "precedence" : 0 ,
2001- "source" : {
2002- "file" : "test.py" ,
2003- "local_id" : 3
2004- }
2005- } ,
2006- {
2007- "precedence" : 0 ,
2008- "source" : {
2009- "file" : "test.py" ,
2010- "local_id" : 8
2011- }
20121998 }
20131999 ] ,
20142000 "end_node" : {
20152001 "file" : "test.py" ,
2016- "local_id" : 9
2002+ "local_id" : 3
20172003 } ,
20182004 "scope_stack_postcondition" : {
20192005 "scopes" : [ ] ,
@@ -2028,7 +2014,14 @@ fn can_serialize_partial_paths() {
20282014 "local_id" : 1
20292015 } ,
20302016 "symbol_stack_postcondition" : {
2031- "symbols" : [ ] ,
2017+ "symbols" : [
2018+ {
2019+ "symbol" : "."
2020+ } ,
2021+ {
2022+ "symbol" : "x"
2023+ }
2024+ ] ,
20322025 "variable" : 1
20332026 } ,
20342027 "symbol_stack_precondition" : {
0 commit comments