about summary refs log tree commit diff
path: root/tests/source
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-05-03 11:26:31 +0900
committertopecongiro <seuchida@gmail.com>2017-05-03 11:30:17 +0900
commit6d14ac84a40a4eae077a691de4baae885f97ea1c (patch)
tree4b4a43668503c133cd8163ccd0af52d25920b860 /tests/source
parentf5da9d779fd0e72c97823eb808e13d44ebad86fb (diff)
Update tests
Diffstat (limited to 'tests/source')
-rw-r--r--tests/source/chains.rs2
-rw-r--r--tests/source/closure.rs15
-rw-r--r--tests/source/configs-chain_indent-block.rs2
-rw-r--r--tests/source/configs-chain_indent-visual.rs2
4 files changed, 19 insertions, 2 deletions
diff --git a/tests/source/chains.rs b/tests/source/chains.rs
index 5987195e031..20d320ccde8 100644
--- a/tests/source/chains.rs
+++ b/tests/source/chains.rs
@@ -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()
diff --git a/tests/source/closure.rs b/tests/source/closure.rs
index c9968a996f4..f6e8c093082 100644
--- a/tests/source/closure.rs
+++ b/tests/source/closure.rs
@@ -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)
+    });
+}
diff --git a/tests/source/configs-chain_indent-block.rs b/tests/source/configs-chain_indent-block.rs
index 264e96625fe..d77709422b2 100644
--- a/tests/source/configs-chain_indent-block.rs
+++ b/tests/source/configs-chain_indent-block.rs
@@ -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();
 }
diff --git a/tests/source/configs-chain_indent-visual.rs b/tests/source/configs-chain_indent-visual.rs
index 3c85400daa4..67714d32045 100644
--- a/tests/source/configs-chain_indent-visual.rs
+++ b/tests/source/configs-chain_indent-visual.rs
@@ -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();
 }