回答編集履歴
1
Fix assert
answer
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
private String ob;
|
30
30
|
|
31
31
|
public ApiResultResponse getApiResultResponse() {
|
32
|
-
assert result
|
32
|
+
assert result == "success";
|
33
33
|
ApiResultResponse res = new ApiResultResponse();
|
34
34
|
res.result = this.result;
|
35
35
|
res.data = this.data;
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
|
40
40
|
public ApiValidResponse getApiValidResponse() {
|
41
|
-
assert result
|
41
|
+
assert result == "validation";
|
42
42
|
ApiResultResponse res = new ApiValidResponse();
|
43
43
|
res.result = this.result;
|
44
44
|
res.valid = this.valid;
|
@@ -47,7 +47,7 @@
|
|
47
47
|
}
|
48
48
|
|
49
49
|
public ApiMaintenanceResponse getApiMaintenanceResponse() {
|
50
|
-
assert result
|
50
|
+
assert result == "Maintenance";
|
51
51
|
ApiResultResponse res = new ApiMaintenanceResponse();
|
52
52
|
res.result = this.result;
|
53
53
|
res.path = this.path;
|