diff options
| author | Caleb Cartwright <caleb.cartwright@outlook.com> | 2022-01-23 11:18:17 -0600 |
|---|---|---|
| committer | Caleb Cartwright <caleb.cartwright@outlook.com> | 2022-01-23 11:18:17 -0600 |
| commit | 9e1973f1d9b94914c3e5539f3ed992c19389b4a7 (patch) | |
| tree | cdc9b6937e7d2efbbb0c82537acb3f3d58cbd5d2 /src/test | |
| parent | 9b454a59906b472022855b7044a01f7bc89210cf (diff) | |
chore: bump toolchain, update test
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/mod.rs b/src/test/mod.rs index c399512ba7e..ab966d4a360 100644 --- a/src/test/mod.rs +++ b/src/test/mod.rs @@ -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] |
