mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
f47b363f71
* Add linter for Rust - add 2015 edition - add 2018 edition * Add tap reports - add tap reports - fix good test case * 1 command=lesslayers Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
7 lines
674 B
Text
7 lines
674 B
Text
TAP version 13
|
|
1..2
|
|
not ok 1 - rust_bad_1.rs
|
|
---
|
|
message: Diff in /tmp/lint/.automation/test/rust_2018/rust_bad_1.rs at line 1 \n // rustfmt-struct_field_align_threshold 50\n fn func() {\n- Ok(ServerInformation { name unwrap_message_string(items.get(0)),\n- vendor unwrap_message_string(items.get(1)),\n- version unwrap_message_string(items.get(2)),\n- spec_version unwrap_message_string(items.get(3)), });\n+ Ok(ServerInformation {\n+ name unwrap_message_string(items.get(0)),\n+ vendor unwrap_message_string(items.get(1)),\n+ version unwrap_message_string(items.get(2)),\n+ spec_version unwrap_message_string(items.get(3)),\n+ });\n }\n \n
|
|
...
|
|
ok 2 - rust_good_1.rs
|