fix also functions_section -> function_section

This commit is contained in:
NikVolf
2017-06-03 23:37:36 +03:00
parent 8eb78497d3
commit a080b42db0
4 changed files with 5 additions and 5 deletions

View File

@ -445,7 +445,7 @@ mod tests {
.build();
assert_eq!(module.type_section().expect("type section to exist").types().len(), 1);
assert_eq!(module.functions_section().expect("function section to exist").entries().len(), 1);
assert_eq!(module.function_section().expect("function section to exist").entries().len(), 1);
assert_eq!(module.code_section().expect("code section to exist").bodies().len(), 1);
}