回答編集履歴

1

Fix assert

2020/06/27 12:20

投稿

YufanLou
YufanLou

スコア464

test CHANGED
@@ -60,7 +60,7 @@
60
60
 
61
61
  public ApiResultResponse getApiResultResponse() {
62
62
 
63
- assert result != "success";
63
+ assert result == "success";
64
64
 
65
65
  ApiResultResponse res = new ApiResultResponse();
66
66
 
@@ -78,7 +78,7 @@
78
78
 
79
79
  public ApiValidResponse getApiValidResponse() {
80
80
 
81
- assert result != "validation";
81
+ assert result == "validation";
82
82
 
83
83
  ApiResultResponse res = new ApiValidResponse();
84
84
 
@@ -96,7 +96,7 @@
96
96
 
97
97
  public ApiMaintenanceResponse getApiMaintenanceResponse() {
98
98
 
99
- assert result != "Maintenance";
99
+ assert result == "Maintenance";
100
100
 
101
101
  ApiResultResponse res = new ApiMaintenanceResponse();
102
102