diff options
Diffstat (limited to 'src/test/mod.rs')
-rw-r--r-- | src/test/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs index b0a32e333..1a47d1dad 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -123,7 +123,7 @@ impl<'a> ModuleRenderer<'a> { } pub fn status(mut self, status: i32) -> Self { - self.context.properties.status_code = Some(status); + self.context.properties.status_code = Some(status.to_string()); self } @@ -137,7 +137,7 @@ impl<'a> ModuleRenderer<'a> { } pub fn pipestatus(mut self, status: &[i32]) -> Self { - self.context.pipestatus = Some( + self.context.properties.pipestatus = Some( status .iter() .map(std::string::ToString::to_string) |