Commit d8f5a616 authored by José Henrique's avatar José Henrique
Browse files

oops

parent 1b0925a6
......@@ -62,8 +62,8 @@ fn test_integrity_team(json_iter: json::JsonValue) -> String {
let versions = devices[device]["versions"].clone();
for version in 0..versions.len() {
if !(&versions[version]["version_code"] == "eleven")
&& !(&versions[version]["version_code"] == "ten")
if !(&versions[version] == "eleven")
&& !(&versions[version] == "ten")
&& !(&versions[version] == "ten_plus")
&& !(&versions[version] == "pie")
&& !(&versions[version] == "pie_plus")
......@@ -92,8 +92,8 @@ fn test_integrity_team(json_iter: json::JsonValue) -> String {
let versions = devices[device]["versions"].clone();
for version in 0..versions.len() {
if !(&versions[version]["version_code"] == "eleven")
&& !(&versions[version]["version_code"] == "ten")
if !(&versions[version] == "eleven")
&& !(&versions[version] == "ten")
&& !(&versions[version] == "ten_plus")
&& !(&versions[version] == "pie")
&& !(&versions[version] == "pie_plus")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment