diff options
| author | Michael Howell <michael@notriddle.com> | 2023-10-04 12:58:06 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-10-04 12:58:06 -0700 |
| commit | 9266270ef55e3138de0c58b9cd4c0949aa2eb04c (patch) | |
| tree | 689bfe5f58e854b6ee75df652a8a917b7aa34e3e /tests/rustdoc/doctest-multi-line-string-literal-25944.rs | |
| parent | a198aff4a4b1b83476497438cfc4771fb19c7bc4 (diff) | |
| download | rust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.tar.gz rust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.zip | |
Rename issue-\d+.rs tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/doctest-multi-line-string-literal-25944.rs')
| -rw-r--r-- | tests/rustdoc/doctest-multi-line-string-literal-25944.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/doctest-multi-line-string-literal-25944.rs b/tests/rustdoc/doctest-multi-line-string-literal-25944.rs new file mode 100644 index 00000000000..17f34315930 --- /dev/null +++ b/tests/rustdoc/doctest-multi-line-string-literal-25944.rs @@ -0,0 +1,13 @@ +// compile-flags:--test + +#![crate_name="issue_25944"] + +/// ``` +/// let a = r#" +/// foo +/// bar"#; +/// let b = "\nfoo\nbar"; +/// assert_eq!(a, b); +/// ``` +pub fn main() { +} |
