Revert "Correct stSystemOperationsTest run with programCode.length protection"

This commit is contained in:
Roman Mandeleil 2015-01-20 16:54:40 +02:00
parent fc7f18104e
commit 121065fa4d
2 changed files with 4 additions and 5 deletions

View File

@ -389,11 +389,6 @@ public class Program {
return;
}
if (programCode.length == 0) {
result = new ProgramResult();
result.setHReturn(new byte[] {});
}
// 4. CREATE THE CONTRACT OUT OF RETURN
byte[] code = result.getHReturn().array();

View File

@ -104,6 +104,10 @@ public class GitHubStateTest {
public void stSystemOperationsTest() throws ParseException {
Set<String> excluded = new HashSet<>();
excluded.add("createNameRegistratorZeroMem2");
excluded.add("createNameRegistratorZeroMem");
excluded.add("createNameRegistratorZeroMemExpansion");
String json = JSONReader.loadJSON("StateTests/stSystemOperationsTest.json");
GitHubJSONTestSuite.runGitHubJsonStateTest(json, excluded);