File tree 2 files changed +8
-12
lines changed
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 1f8e0fa083fe527169019c8aa9c36017fd3ff6ad
2
+ refs/heads/master: a73a0dd74eed79dbeb861faf69c35994589bc3b2
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ fn test_fn() {
101
101
assert ( f1 == f2) ;
102
102
assert ( f1 == f) ;
103
103
104
- assert ( f1 = = g1) ;
104
+ assert ( f1 ! = g1) ;
105
105
assert ( h1 == h2) ;
106
106
assert ( !( f1 != f2) ) ;
107
107
assert ( !( h1 < h2) ) ;
@@ -125,12 +125,8 @@ fn test_obj() {
125
125
let o1 = obj ( ) { } ;
126
126
let o2 = obj ( ) { } ;
127
127
128
- assert ( o1 == o2) ;
129
- assert ( !( o1 != o2) ) ;
130
- assert ( !( o1 < o2) ) ;
131
- assert ( o1 <= o2) ;
132
- assert ( !( o1 > o2) ) ;
133
- assert ( o1 >= o2) ;
128
+ assert ( o1 != o2) ;
129
+ assert ( !( o1 == o2) ) ;
134
130
135
131
obj constr1( i: int) { }
136
132
obj constr2( i: int) { }
@@ -140,9 +136,9 @@ fn test_obj() {
140
136
let o7 = constr1 ( 11 ) ;
141
137
let o8 = constr2 ( 11 ) ;
142
138
143
- assert ( o5 = = o6) ;
144
- assert ( o6 = = o7) ;
145
- assert ( o7 = = o8) ;
139
+ assert ( o5 ! = o6) ;
140
+ assert ( o6 ! = o7) ;
141
+ assert ( o7 ! = o8) ;
146
142
}
147
143
148
144
fn main ( ) {
@@ -157,4 +153,4 @@ fn main() {
157
153
test_fn ( ) ;
158
154
test_native_fn ( ) ;
159
155
test_obj ( ) ;
160
- }
156
+ }
You can’t perform that action at this time.
0 commit comments