Skip to content

Commit 4bd6761

Browse files
committed
Update tests
1 parent d613f75 commit 4bd6761

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

tests/target/comment.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ fn test() {
3636
// or me
3737

3838
// #1388
39-
const EXCEPTION_PATHS: &'static [&'static str] =
40-
&[
41-
// std crates
42-
"src/libstd/sys/", // Platform-specific code for std lives here.
43-
"src/bootstrap",
44-
];
39+
const EXCEPTION_PATHS: &'static [&'static str] = &[
40+
// std crates
41+
"src/libstd/sys/", // Platform-specific code for std lives here.
42+
"src/bootstrap",
43+
];
4544
}
4645

4746
/// test123

tests/target/tuple.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ fn issue775() {
6767
(
6868
"b".to_string(),
6969
Array(vec![
70-
mk_object(
71-
&[("c".to_string(), String("\x0c\r".to_string()))],
72-
),
70+
mk_object(&[("c".to_string(), String("\x0c\r".to_string()))]),
7371
mk_object(&[("d".to_string(), String("".to_string()))]),
7472
]),
7573
),

0 commit comments

Comments
 (0)