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 =
xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold(
0,
|acc, x| acc + x,
);
xxxxxxx.map(|x| x + 5)
.map(|x| x / 2)
.fold(0, |acc, x| acc + x);
aaaaaaaaaaaaaaaa.map(|x| {
x += 1;

View File

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

View File

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

View File

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

View File

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