From b39a31a76d26fbc01a22a5b39e24936f2e746fc1 Mon Sep 17 00:00:00 2001 From: panos Date: Sat, 14 Jul 2018 02:34:40 +0300 Subject: [PATCH] add more complexity to test contract `usingOraclize` --- test/sources/statements/unbracketed-sigleton-multi.sol | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/sources/statements/unbracketed-sigleton-multi.sol b/test/sources/statements/unbracketed-sigleton-multi.sol index 0d2a2b7..307f8e0 100644 --- a/test/sources/statements/unbracketed-sigleton-multi.sol +++ b/test/sources/statements/unbracketed-sigleton-multi.sol @@ -1070,6 +1070,13 @@ contract usingOraclize { for (i = 0; i < _bc.length; i++) babcde[k++] = _bc[i]; for (i = 0; i < _bd.length; i++) babcde[k++] = _bd[i]; for (i = 0; i < _be.length; i++) babcde[k++] = _be[i]; + if (_be[0] < _bd[0]) + return; + else if (babcde[0] > _bd[0]) + if (_bd[0] < _bc[0]) + return; + if (_bd[0] == _bc[0]) + return; } }