File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,11 @@ fn get_path_string(dir_entry: io::Result<fs::DirEntry>) -> String {
26
26
path. to_str ( ) . expect ( "Couldn't stringify path." ) . to_owned ( )
27
27
}
28
28
29
- // For now, the only supported regression tests are idempotent tests - the input and
29
+ // Integration tests and idempotence tests. The files in the tests/source are
30
+ // formatted and compared to their equivalent in tests/target. The target file
31
+ // and config can be overriden by annotations in the source file. The input and
30
32
// output must match exactly.
33
+ // Files in tests/target are checked to be unaltered by rustfmt.
31
34
// FIXME(#28) would be good to check for error messages and fail on them, or at least report.
32
35
#[ test]
33
36
fn system_tests ( ) {
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ // Regression test for issue 64
2
+
3
+ pub fn header_name < T : Header > ( ) -> & ' static str {
4
+ let name = <T as Header >:: header_name ( ) ;
5
+ let func = <T as Header >:: header_name;
6
+ name
7
+ }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments