use std::{error::Error, path::Path}; use test_utils::{check_compilation, Expected}; const SRC_PATH: &str = "./examples/syscall.why"; const EXPECTED: Expected = Expected { stdout: "Hello, World! This thing is supposed to be very long :) 13", stderr: "", }; #[test] fn compile_and_run_syscall() -> Result<(), Box> { check_compilation(Path::new(SRC_PATH), EXPECTED) }