Fix rpc
This commit is contained in:
		
							parent
							
								
									01a0b038f7
								
							
						
					
					
						commit
						cc298cf11c
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -108,11 +108,11 @@ mod tests {
 | 
				
			||||||
        assert_eq!(*stdout, Some("1".to_owned()));
 | 
					        assert_eq!(*stdout, Some("1".to_owned()));
 | 
				
			||||||
        assert_eq!(*stderr, None);
 | 
					        assert_eq!(*stderr, None);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let ExecOutput::Output { ref stdout, ref stderr } = &outputs[1] else { panic!() };
 | 
					        let ExecOutput::Output { ref stdout, ref stderr } = outputs[1] else { panic!() };
 | 
				
			||||||
        assert_eq!(*stdout, Some("2".to_owned()));
 | 
					        assert_eq!(*stdout, Some("2".to_owned()));
 | 
				
			||||||
        assert_eq!(*stderr, None);
 | 
					        assert_eq!(*stderr, None);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let ExecOutput::Output { ref stdout, ref stderr } = &outputs[2] else { panic!() };
 | 
					        let ExecOutput::Output { ref stdout, ref stderr } = outputs[2] else { panic!() };
 | 
				
			||||||
        assert_eq!(*stdout, Some("3".to_owned()));
 | 
					        assert_eq!(*stdout, Some("3".to_owned()));
 | 
				
			||||||
        assert_eq!(*stderr, None);
 | 
					        assert_eq!(*stderr, None);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								agent/src/server/rpc.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								agent/src/server/rpc.rs
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					tonic::include_proto!("prymn");
 | 
				
			||||||
		Loading…
	
		Reference in a new issue