Update tests
This commit is contained in:
parent
f5da9d779f
commit
6d14ac84a4
8 changed files with 37 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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)
|
||||
});
|
||||
}
|
||||
|
|
|
@ -8,5 +8,5 @@ fn main() {
|
|||
.amet()
|
||||
.consectetur()
|
||||
.adipiscing()
|
||||
.elit();
|
||||
.elite();
|
||||
}
|
||||
|
|
|
@ -7,5 +7,5 @@ fn main() {
|
|||
.amet()
|
||||
.consectetur()
|
||||
.adipiscing()
|
||||
.elit();
|
||||
.elite();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue