Update tests

This commit is contained in:
topecongiro 2017-06-17 16:57:00 +09:00
parent 54233acc8e
commit 0440c2c377
5 changed files with 16 additions and 20 deletions

View File

@ -47,10 +47,9 @@ fn main() {
}); });
let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum = let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum =
xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold( xxxxxxx.map(|x| x + 5)
0, .map(|x| x / 2)
|acc, x| acc + x, .fold(0, |acc, x| acc + x);
);
aaaaaaaaaaaaaaaa.map(|x| { aaaaaaaaaaaaaaaa.map(|x| {
x += 1; x += 1;

View File

@ -18,18 +18,15 @@ fn main() {
)); ));
// chain // chain
let x = yooooooooooooo.fooooooooooooooo.baaaaaaaaaaaaar( let x = yooooooooooooo
hello, .fooooooooooooooo
world, .baaaaaaaaaaaaar(hello, world);
);
// #1380 // #1380
{ {
{ {
let creds = self.client.client_credentials( let creds = self.client
&self.config.auth.oauth2.id, .client_credentials(&self.config.auth.oauth2.id, &self.config.auth.oauth2.secret)?;
&self.config.auth.oauth2.secret,
)?;
} }
} }

View File

@ -4,7 +4,7 @@
// Force format strings // Force format strings
fn main() { fn main() {
let lorem = let lorem = "ipsum dolor sit amet \
"ipsum dolor sit amet consectetur \ consectetur adipiscing elit \
adipiscing elit lorem ipsum dolor sit"; lorem ipsum dolor sit";
} }

View File

@ -3,7 +3,7 @@
// Force format strings // Force format strings
fn main() { fn main() {
let lorem = let lorem = "ipsum dolor sit amet \
"ipsum dolor sit amet consectetur \ consectetur adipiscing elit \
adipiscing elit lorem ipsum dolor sit"; lorem ipsum dolor sit";
} }

View File

@ -1,4 +1,4 @@
fn f() { fn f() {
block_flow.base.stacking_relative_position_of_display_port = block_flow.base.stacking_relative_position_of_display_port = self.base
self.base.stacking_relative_position_of_display_port; .stacking_relative_position_of_display_port;
} }