mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix serverVersion in snapshots failing tests
This commit is contained in:
parent
f46a391873
commit
ff47f79c62
8 changed files with 8 additions and 7 deletions
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ expression: redactions.redacted_yaml(info)
|
|||
expectedPlaceIds: ~
|
||||
protocolVersion: 3
|
||||
rootInstanceId: id-2
|
||||
serverVersion: 0.6.0-dev
|
||||
serverVersion: "[server-version]"
|
||||
sessionId: id-1
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ pub fn run_serve_test(test_name: &str, callback: impl FnOnce(TestServeSession, R
|
|||
let snapshot_path = Path::new(env!("CARGO_MANIFEST_DIR")).join("serve-test-snapshots");
|
||||
settings.set_snapshot_path(snapshot_path);
|
||||
settings.set_sort_maps(true);
|
||||
settings.add_redaction(".serverVersion", "[server-version]");
|
||||
settings.bind(move || callback(session, redactions));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue