diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-06-29 17:43:51 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-06-30 11:23:01 +0500 |
| commit | 1e3a2b2d4aa0ae75f9331c950b7346b1a017d4d9 (patch) | |
| tree | 5c4d2083b328198c4fa21059695c5e8b85527ffa /tests/ui/parser | |
| parent | a38c78c4616d6032af37739fad903e842a52e290 (diff) | |
| download | rust-1e3a2b2d4aa0ae75f9331c950b7346b1a017d4d9.tar.gz rust-1e3a2b2d4aa0ae75f9331c950b7346b1a017d4d9.zip | |
cleaned up some tests
Diffstat (limited to 'tests/ui/parser')
| -rw-r--r-- | tests/ui/parser/multiline-comments-basic.rs | 8 | ||||
| -rw-r--r-- | tests/ui/parser/unicode-multibyte-chars-no-ice.rs | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/tests/ui/parser/multiline-comments-basic.rs b/tests/ui/parser/multiline-comments-basic.rs index 98174882032..1aa2a531f5c 100644 --- a/tests/ui/parser/multiline-comments-basic.rs +++ b/tests/ui/parser/multiline-comments-basic.rs @@ -1,6 +1,10 @@ +//! Test that basic multiline comments are parsed correctly. +//! +//! Feature implementation test for <https://github.com/rust-lang/rust/issues/66>. + //@ run-pass /* - * This is a multi-line oldcomment. + * This is a multi-line comment. */ -pub fn main() { } +pub fn main() {} diff --git a/tests/ui/parser/unicode-multibyte-chars-no-ice.rs b/tests/ui/parser/unicode-multibyte-chars-no-ice.rs index d585a791fb9..b1bb0c66ae2 100644 --- a/tests/ui/parser/unicode-multibyte-chars-no-ice.rs +++ b/tests/ui/parser/unicode-multibyte-chars-no-ice.rs @@ -1,7 +1,9 @@ +//! Test that multibyte Unicode characters don't crash the compiler. +//! +//! Regression test for <https://github.com/rust-lang/rust/issues/4780>. + //@ run-pass -// -// Test that multibyte characters don't crash the compiler pub fn main() { println!("마이너스 사인이 없으면"); } |
