Commit 1b0925a6 authored by José Henrique's avatar José Henrique
Browse files

Eleven dude

parent 01ee4093
......@@ -26,7 +26,8 @@ fn test_integrity_devices(json_iter: json::JsonValue) -> String {
let versions = Clone::clone(&json_iter[json_value]["supported_versions"]);
for version in 0..versions.len() {
if !(&versions[version]["version_code"] == "ten")
if !(&versions[version]["version_code"] == "eleven")
&& !(&versions[version]["version_code"] == "ten")
&& !(&versions[version]["version_code"] == "ten_plus")
&& !(&versions[version]["version_code"] == "pie")
&& !(&versions[version]["version_code"] == "pie_plus")
......@@ -61,7 +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] == "ten")
if !(&versions[version]["version_code"] == "eleven")
&& !(&versions[version]["version_code"] == "ten")
&& !(&versions[version] == "ten_plus")
&& !(&versions[version] == "pie")
&& !(&versions[version] == "pie_plus")
......@@ -90,7 +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] == "ten")
if !(&versions[version]["version_code"] == "eleven")
&& !(&versions[version]["version_code"] == "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