@@ -51,10 +51,10 @@ fn test_forc_test_raw_logs() -> Result<(), rexpect::error::Error> {
51
51
// Assert that the output is correct
52
52
process. exp_string ( " test test_log_4" ) ?;
53
53
process. exp_string ( "raw logs:" ) ?;
54
- process. exp_string ( r#"[{"LogData":{"data":"0000000000000004","digest":"8005f02d43fa06e7d0585fb64c961d57e318b27a145c857bcd3a6bdb413ff7fc","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12448 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
54
+ process. exp_string ( r#"[{"LogData":{"data":"0000000000000004","digest":"8005f02d43fa06e7d0585fb64c961d57e318b27a145c857bcd3a6bdb413ff7fc","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12416 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
55
55
process. exp_string ( " test test_log_2" ) ?;
56
56
process. exp_string ( "raw logs:" ) ?;
57
- process. exp_string ( r#"[{"LogData":{"data":"0000000000000002","digest":"cd04a4754498e06db5a13c5f371f1f04ff6d2470f24aa9bd886540e5dce77f70","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12448 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
57
+ process. exp_string ( r#"[{"LogData":{"data":"0000000000000002","digest":"cd04a4754498e06db5a13c5f371f1f04ff6d2470f24aa9bd886540e5dce77f70","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12416 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
58
58
59
59
process. process . exit ( ) ?;
60
60
Ok ( ( ) )
@@ -77,12 +77,12 @@ fn test_forc_test_both_logs() -> Result<(), rexpect::error::Error> {
77
77
process. exp_string ( "decoded log values:" ) ?;
78
78
process. exp_string ( "4, log rb: 1515152261580153489" ) ?;
79
79
process. exp_string ( "raw logs:" ) ?;
80
- process. exp_string ( r#"[{"LogData":{"data":"0000000000000004","digest":"8005f02d43fa06e7d0585fb64c961d57e318b27a145c857bcd3a6bdb413ff7fc","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12448 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
80
+ process. exp_string ( r#"[{"LogData":{"data":"0000000000000004","digest":"8005f02d43fa06e7d0585fb64c961d57e318b27a145c857bcd3a6bdb413ff7fc","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12416 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
81
81
process. exp_string ( " test test_log_2" ) ?;
82
82
process. exp_string ( "decoded log values:" ) ?;
83
83
process. exp_string ( "2, log rb: 1515152261580153489" ) ?;
84
84
process. exp_string ( "raw logs:" ) ?;
85
- process. exp_string ( r#"[{"LogData":{"data":"0000000000000002","digest":"cd04a4754498e06db5a13c5f371f1f04ff6d2470f24aa9bd886540e5dce77f70","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12448 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
85
+ process. exp_string ( r#"[{"LogData":{"data":"0000000000000002","digest":"cd04a4754498e06db5a13c5f371f1f04ff6d2470f24aa9bd886540e5dce77f70","id":"0000000000000000000000000000000000000000000000000000000000000000","is":10368,"len":8,"pc":12416 ,"ptr":67107840,"ra":0,"rb":1515152261580153489}}]"# ) ?;
86
86
process. process . exit ( ) ?;
87
87
Ok ( ( ) )
88
88
}
0 commit comments