manually serialize rust
@@ -180,10 +180,12 @@ mod test_rust_original {
use super::*;
use crate::error::SniprunError;
- use serial_test::serial;
-
#[test]
- #[serial(rust)]
+ fn all_rust() {
+ simple_print();
+ runtime_error();
+ }
+
fn simple_print() {
let mut data = DataHolder::new();
data.current_bloc = String::from("println!(\"HW, 1+1 = {}\", 1+1);");
@@ -195,8 +197,6 @@ mod test_rust_original {
assert_eq!(string_result, "HW, 1+1 = 2\n");
}
- #[test]
- #[serial(rust)]
fn runtime_error() {
let mut data = DataHolder::new();
data.current_bloc = String::from(
