function TestCreateSuccess uses a wrong variable LogGroupName
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn> Upstream-commit: 320c93824b7c4dca3086258264ab142fe4530165 Component: engine
This commit is contained in:
@@ -99,7 +99,7 @@ func TestCreateSuccess(t *testing.T) {
|
||||
t.Errorf("Expected LogGroupName to be %s", groupName)
|
||||
}
|
||||
if argument.LogStreamName == nil {
|
||||
t.Fatal("Expected non-nil LogGroupName")
|
||||
t.Fatal("Expected non-nil LogStreamName")
|
||||
}
|
||||
if *argument.LogStreamName != streamName {
|
||||
t.Errorf("Expected LogStreamName to be %s", streamName)
|
||||
|
||||
Reference in New Issue
Block a user