File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5
- refs/heads/try: 1057eea7ac124da94479b4903d5df29c6f6c0660
5
+ refs/heads/try: aac91267e3ea650649ee443b042fe04cd502da6c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ mod tests {
174
174
use smallintmap:: { mk, SmallIntMap } ;
175
175
176
176
use core:: option:: None ;
177
- use core:: option;
178
177
179
178
#[ test]
180
179
fn test_len ( ) {
@@ -214,9 +213,9 @@ mod tests {
214
213
map. update_with_key ( 3 , 2 , addMoreToCount) ;
215
214
216
215
// check the total counts
217
- assert 10 == option :: get ( map. find ( 3 ) ) ;
218
- assert 3 == option :: get ( map. find ( 5 ) ) ;
219
- assert 1 == option :: get ( map. find ( 9 ) ) ;
216
+ assert map. find ( 3 ) . get ( ) == 10 ;
217
+ assert map. find ( 5 ) . get ( ) == 3 ;
218
+ assert map. find ( 9 ) . get ( ) == 1 ;
220
219
221
220
// sadly, no sevens were counted
222
221
assert None == map. find ( 7 ) ;
You can’t perform that action at this time.
0 commit comments