mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:34:07 +00:00
parent
78b2bafde1
commit
715022def5
6 changed files with 67 additions and 5 deletions
|
|
@ -132,9 +132,6 @@ fn remove_file() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
// Editing an init file currently crashes the ChangeProcessor thread.
|
||||
// https://github.com/rojo-rbx/rojo/issues/267
|
||||
#[ignore]
|
||||
fn edit_init() {
|
||||
run_serve_test("edit_init", |session, mut redactions| {
|
||||
let info = session.get_api_rojo().unwrap();
|
||||
|
|
@ -148,7 +145,7 @@ fn edit_init() {
|
|||
read_response.intern_and_redact(&mut redactions, root_id)
|
||||
);
|
||||
|
||||
fs::write(session.path().join("init.lua"), b"-- Edited contents.").unwrap();
|
||||
fs::write(session.path().join("init.lua"), b"-- Edited contents").unwrap();
|
||||
|
||||
let subscribe_response = session.get_api_subscribe(0).unwrap();
|
||||
assert_yaml_snapshot!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue