mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Specify line endings in ron snapshot tests
This commit is contained in:
committed by
Dzmitry Malyshau
parent
08001981ba
commit
5de69f7276
@@ -226,7 +226,7 @@ fn convert_spv(name: &str) {
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
{
|
||||
let config = ron::ser::PrettyConfig::default();
|
||||
let config = ron::ser::PrettyConfig::default().with_new_line("\n".to_string());
|
||||
let output = ron::ser::to_string_pretty(&module, config).unwrap();
|
||||
with_snapshot_settings(|| {
|
||||
insta::assert_snapshot!(format!("{}.ron", name), output);
|
||||
|
||||
Reference in New Issue
Block a user