]> git.lizzy.rs Git - rust.git/commitdiff
Update tests
authortopecongiro <seuchida@gmail.com>
Wed, 3 May 2017 02:26:31 +0000 (11:26 +0900)
committertopecongiro <seuchida@gmail.com>
Wed, 3 May 2017 02:30:17 +0000 (11:30 +0900)
tests/source/chains.rs
tests/source/closure.rs
tests/source/configs-chain_indent-block.rs
tests/source/configs-chain_indent-visual.rs
tests/target/chains.rs
tests/target/closure.rs
tests/target/configs-chain_indent-block.rs
tests/target/configs-chain_indent-visual.rs

index 5987195e0316ebf1615cdeba59f376d495b94f6c..20d320ccde89d3830d37eae10186dee6fbff063b 100644 (file)
@@ -13,6 +13,8 @@ fn main() {
 
     bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc.ddddddddddddddddddddddddddd.eeeeeeee();
 
+    let f = fooooooooooooooooooooooooooooooooooooooooooooooooooo.baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar;
+
     // Test case where first chain element isn't a path, but is shorter than
     // the size of a tab.
     x()
index c9968a996f4c2b92d1258e1731ffd792d548c060..f6e8c0930822548abd09ef678cb270f0ddbee761 100644 (file)
@@ -89,3 +89,18 @@ fn foo() {
         };
     });
 }
+
+fn issue1405() {
+    open_raw_fd(fd, b'r')
+        .and_then(|file| Capture::new_raw(None, |_, err| unsafe {
+            raw::pcap_fopen_offline(file, err)
+        }));
+}
+
+fn issue1466() {
+    let vertex_buffer = frame.scope(|ctx| {
+        let buffer =
+            ctx.create_host_visible_buffer::<VertexBuffer<Vertex>>(&vertices);
+        ctx.create_device_local_buffer(buffer)
+    });
+}
index 264e96625fe459024b9090cf0aa0ccf5772b5a44..d77709422b2857b4eba8eb9f85540ea9cf75ec3b 100644 (file)
@@ -2,5 +2,5 @@
 // Chain indent
 
 fn main() {
-    let lorem = ipsum.dolor().sit().amet().consectetur().adipiscing().elit();
+    let lorem = ipsum.dolor().sit().amet().consectetur().adipiscing().elite();
 }
index 3c85400daa49b5580d9e16652330220bbd8dd9c8..67714d32045b4ebec2e9f09166f232e8b76f8074 100644 (file)
@@ -2,5 +2,5 @@
 // Chain indent
 
 fn main() {
-    let lorem = ipsum.dolor().sit().amet().consectetur().adipiscing().elit();
+    let lorem = ipsum.dolor().sit().amet().consectetur().adipiscing().elite();
 }
index 2b14ec147d4e34342f7f88ae6443c3e1c5b15f8d..b8e47607b8329f3a4e07a43ff3a2e8dddceceb1f 100644 (file)
@@ -13,6 +13,9 @@ fn main() {
         .ddddddddddddddddddddddddddd
         .eeeeeeee();
 
+    let f = fooooooooooooooooooooooooooooooooooooooooooooooooooo
+        .baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar;
+
     // Test case where first chain element isn't a path, but is shorter than
     // the size of a tab.
     x().y(|| match cond() {
index c9edec799e2fa5971a94f6682eac2cf0fa010ca4..f6d9a855a331b22bfd5fb76445c4accbc54c0543 100644 (file)
@@ -106,3 +106,16 @@ fn foo() {
                              };
                          });
 }
+
+fn issue1405() {
+    open_raw_fd(fd, b'r').and_then(|file| {
+        Capture::new_raw(None, |_, err| unsafe { raw::pcap_fopen_offline(file, err) })
+    });
+}
+
+fn issue1466() {
+    let vertex_buffer = frame.scope(|ctx| {
+        let buffer = ctx.create_host_visible_buffer::<VertexBuffer<Vertex>>(&vertices);
+        ctx.create_device_local_buffer(buffer)
+    });
+}
index 89357e5580132981394574e527443e5cd70f250b..b172e293b720d8296b5b5b47809e4f0b3a684dcb 100644 (file)
@@ -8,5 +8,5 @@ fn main() {
         .amet()
         .consectetur()
         .adipiscing()
-        .elit();
+        .elite();
 }
index 158ad432ffa419e4ab63d8ad088684feaf246371..ef7dac93f7f4de51c4165718a331cb84dc4bdb51 100644 (file)
@@ -7,5 +7,5 @@ fn main() {
                      .amet()
                      .consectetur()
                      .adipiscing()
-                     .elit();
+                     .elite();
 }