Fixing memory slices when trying to get memory with size=0

This commit is contained in:
Tomusdrw
2016-01-16 00:31:04 +01:00
parent 9e7fea94bf
commit e0f3f7adcc
2 changed files with 32 additions and 23 deletions

View File

@@ -168,7 +168,7 @@ fn do_json_test_for(vm: &VMType, json_data: &[u8]) -> Vec<String> {
let json = Json::from_str(::std::str::from_utf8(json_data).unwrap()).expect("Json is invalid");
let mut failed = Vec::new();
for (name, test) in json.as_object().unwrap() {
// if name != "for_loop1" {
// if name != "CallToNameRegistrator0" {
// continue;
// }
println!("name: {:?}", name);