mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Add serve snapshot test for empty project
This commit is contained in:
parent
d5c816f24d
commit
ea765eb929
10 changed files with 176 additions and 213 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::{fs, process::Command};
|
||||
|
||||
use insta::assert_snapshot_matches;
|
||||
use insta::assert_snapshot;
|
||||
use tempfile::tempdir;
|
||||
|
||||
use crate::util::{get_build_tests_path, get_rojo_path, get_working_dir_path};
|
||||
|
|
@ -78,5 +78,5 @@ fn run_build_test(test_name: &str) {
|
|||
|
||||
let contents = fs::read_to_string(&output_path).expect("Couldn't read output file");
|
||||
|
||||
assert_snapshot_matches!(test_name, contents);
|
||||
assert_snapshot!(test_name, contents);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue