Skip to content

Commit 952a111

Browse files
committed
actually, the API makes sense (and tests now pass)
1 parent 5a30252 commit 952a111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codes_index/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ mod tests {
222222

223223
#[test]
224224
fn collect_index_iterator() {
225-
let keys = vec!["shortName", "typeOfLevel", "level", "stepType"];
225+
let keys = vec!["typeOfLevel", "level"];
226226
let index = CodesIndex::new_from_keys(&keys).unwrap();
227227
let grib_path = Path::new("./data/iceland-levels.grib");
228228

@@ -238,6 +238,6 @@ mod tests {
238238

239239
let level = handle.collect::<Vec<_>>().unwrap();
240240

241-
assert_eq!(level.len(), 1);
241+
assert_eq!(level.len(), 5);
242242
}
243243
}

0 commit comments

Comments
 (0)