mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
chore: bump toolchain, update test
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2021-12-29"
|
||||
channel = "nightly-2022-01-23"
|
||||
components = ["rustc-dev"]
|
||||
|
||||
+4
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user