function TestCreateSuccess uses a wrong variable LogGroupName

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-11-16 16:48:36 +08:00
parent 6697fa8a68
commit 320c93824b

View file

@ -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)