chore: bump toolchain, update test
This commit is contained in:
parent
9b454a5990
commit
9e1973f1d9
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2021-12-29"
|
||||
channel = "nightly-2022-01-23"
|
||||
components = ["rustc-dev"]
|
||||
|
@ -572,7 +572,10 @@ fn stdin_generated_files_issue_5172() {
|
||||
assert!(session.has_no_errors());
|
||||
}
|
||||
// N.B. this should be changed once `format_generated_files` is supported with stdin
|
||||
assert_eq!(buf, "stdin:\n\n//@generated\nfn main() {}\n".as_bytes());
|
||||
assert_eq!(
|
||||
String::from_utf8(buf).unwrap(),
|
||||
"<stdin>:\n\n//@generated\nfn main() {}\n",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user