Skip to content

Commit e237c2d

Browse files
committed
fmt
1 parent 331c737 commit e237c2d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/test/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fn test_something() {
107107
fn bar(()) -> () = minirust(v1) -> v0 {
108108
let v0: ();
109109
let v1: ();
110-
let v2:
110+
let v2:
111111

112112
bb0: {
113113
statements {
@@ -123,7 +123,6 @@ fn test_something() {
123123

124124
expect_test::expect!["()"]
125125
)
126-
127126
}
128127

129128
#[test]

tests/projection.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ fn projection_equality() {
117117
);
118118
}
119119

120-
121120
const TEST_TY_IS_INT: &str = "[
122121
crate test {
123122
trait Id {
@@ -130,7 +129,6 @@ const TEST_TY_IS_INT: &str = "[
130129
}
131130
]";
132131

133-
134132
#[test]
135133
fn test_ty_is_int() {
136134
test_where_clause(
@@ -139,7 +137,6 @@ fn test_ty_is_int() {
139137
)
140138
.assert_ok(expect_test::expect!["{Constraints { env: Env { variables: [], bias: Soundness, pending: [] }, known_true: true, substitution: {} }}"]);
141139

142-
143140
test_where_clause(
144141
TEST_TY_IS_INT,
145142
"{} => { @is_int(<u16 as Id>::This) }",
@@ -152,6 +149,4 @@ fn test_ty_is_int() {
152149
judgment `prove_wc { goal: @ is_int(<u16 as Id>::This), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
153150
the rule "ty is int" failed at step #0 (src/file.rs:LL:CC) because
154151
judgment had no applicable rules: `is_int { goal: <u16 as Id>::This, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"#]]);
155-
156152
}
157-

0 commit comments

Comments
 (0)