From: topecongiro Date: Tue, 31 Oct 2017 06:01:38 +0000 (+0900) Subject: Add a test for soft wrapping for comments X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=371d2bb939914e60bc7b3410157f9d6f639f6ccc;p=rust.git Add a test for soft wrapping for comments --- diff --git a/tests/source/soft-wrapping.rs b/tests/source/soft-wrapping.rs new file mode 100644 index 00000000000..a7393767384 --- /dev/null +++ b/tests/source/soft-wrapping.rs @@ -0,0 +1,9 @@ +// rustfmt-wrap_comments: true +// rustfmt-max_width: 80 +// Soft wrapping for comments. + +// #535, soft wrapping for comments +// Compare the lowest `f32` of both inputs for greater than or equal. The +// lowest 32 bits of the result will be `0xffffffff` if `a.extract(0)` is +// ggreater than or equal `b.extract(0)`, or `0` otherwise. The upper 96 bits off +// the result are the upper 96 bits of `a`. diff --git a/tests/target/soft-wrapping.rs b/tests/target/soft-wrapping.rs new file mode 100644 index 00000000000..eb5318f83ac --- /dev/null +++ b/tests/target/soft-wrapping.rs @@ -0,0 +1,9 @@ +// rustfmt-wrap_comments: true +// rustfmt-max_width: 80 +// Soft wrapping for comments. + +// #535, soft wrapping for comments +// Compare the lowest `f32` of both inputs for greater than or equal. The +// lowest 32 bits of the result will be `0xffffffff` if `a.extract(0)` is +// ggreater than or equal `b.extract(0)`, or `0` otherwise. The upper 96 bits +// off the result are the upper 96 bits of `a`.